>I want to save and retrieve variables when running an app. to and from disc.
>
>There are foxpro commands for doing this.
>
>I know I could use a table for this purpose but what are the commands?
Just create a table and name and type your fields like the variables they are to hold.
Then when you want to store the vars its's:
Update MyVarTable set UserName = lcUserName
or...
Select MyVarTable
Replace UserName with lcUserName
Or you could use an .INI file
or you could use Save To and Restore From a .MEM file
HTH
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.