>My experience is with FPW 2.6. I have recently switched to VFP6.0.
>
>My app currently stores various incrementing variables to .mem files. When I need to increment a field, I restore from the .mem file, add one, replace the field with the result, and save the new number to the .mem file.
>
>Is there a better way to do this in VFP 6.0?
In a table :)
I used to use .mem files (from the DOS days), using tables & objects solves a lot of problems that I used to have (regarding variable scoping, ease of setting up a new variable, etc.)
For example, you could have one table that stores all of your autoIDs (autonumber keys). Have objects query/update the table when necessary.
HTH
Steve Gibson