Welcome to MSDN Blogs Sign in | Join | Help

This code queries the foxuser resource file. What does it do?

 

#if 0

What does the code below do?

 

Here's a clue

      Unknown,

      Command,

      File,

      Label,

      Menu,

      Query,

      Report,

      Form,

      Class,

      Table,

      Database,

      Project,

      Memo,

      Vue,

      Procedure,

      Classlib,

      View,

#endif

USE SYS(2005) AGAIN ALIAS fuser

SELECT * from fuser WHERE id = "MRU" ORDER BY id INTO CURSOR foo

SCAN

      cData=data

      ?id

      ALINES(aa,SUBSTR(cData,3),0,CHR(0))

      FOR i = 1 TO ALEN(aa)

            ?SPACE(5),aa(i)

      ENDFOR

ENDSCAN

 

Published Friday, March 24, 2006 11:26 PM by Calvin_Hsia
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: This code queries the foxuser resource file. What does it do?

Saturday, March 25, 2006 4:02 AM by Kenneth Tamayo
This is GREAT stuff!  Thanks Calvin!!

Most Recently Used entries: MRUB (programs), MRUC (text files), MRUE (menus), MRUH (forms), MRUL (projects), MRUS (tables), MRUT (start folders)

# re: This code queries the foxuser resource file. What does it do?

Monday, March 27, 2006 5:14 AM by ank
Thanks for code,
but 2 little corrections:
1.
SET ANSI OFF
2.
ALINES(aa,SUBSTR(cData,3),.F.,CHR(0))
&& parameter lTrim must be logical (at least for VFP8)



# re: This code queries the foxuser resource file. What does it do?

Monday, March 27, 2006 7:26 PM by don dodge
This must be what feeds the drop downs you you enter modify command, e.g.

# Modify resource file entries

Friday, March 31, 2006 12:47 PM by Calvin Hsia's WebLog
 
In my prior two posts (This code queries the foxuser resource file. What does it do? and More...

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker