Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About foxuser.dbf 1

Status
Not open for further replies.

sohrab100

Programmer
Jan 18, 2002
56
HK
1. What is stored into foxuser.dbf?
2. And what is the usage of foxuser.dbf?
sohrab100
 
Foxuser.dbf is the default Resource table and is used by VFP if you Set Resource On...as to what is held in there...mostly user preferences...as in when your user resizes or moves somethings in the program it is saved in Foxuser (unless the file is marked READONLY, or the Readonly field is .T.) and then restored as the user left it when they last opened that form or what have you...as to a definitive list of what all is stored in there and in what situations it gets stored take a peek at the Help File and also open the Foxuser table and peek at the contents inside and you will get some idea...I haven't seen a complete list anywhere for it though. Slighthaze = NULL
 
the short answer? Developer or User preferences Slighthaze = NULL
 
sohrab100,
To see what's stored there, just open it and take a look - it's just another table (.DBF)!
Code:
SET RESOURCE OFF && close it because FP uses it exclusive
USE (SYS(2005)) NOUPDATE && so you don't mess anything up
BROWSE && Open up the memo fields so you can see what's there
USE && close it
SET RESOURCE ON && use it again
[code]
Rick
 
Hi
Even easier to what Rick pointer out will be..

In the command window type..

SELECT * FROM SYS(2005)

and when you close the cursor generated will vanish.

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Ramani,
That's TOO easy! :) Besides, with multiple lines I got to explain why I did what I was doing. (I guess I did it this way, because I usually leave off the NOUPDATE and actually delete / change stuff - OK if you know what you're doing!)

Rick
 
Rick,

Here's yet another way:

USE SYS(2005) AGAIN ALIAS Whatever

I'm sure VFP won't recognize changes until you SET RESOURCE OFF/ON again, or restart VFP, but I just wanted to reiterate that it can be changed 'live'.
Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top