Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown(2) in Data Session Dlg.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518686
Message ID:
00519391
Views:
16
Allan,

Those are old commands that are mostly still around for compatability issues with FP2.x code. They will not save record pointers, you will have to do this yourself.

You can use AUSED() to iterate all of the open tables and save their record pointers.

Another approach you should consider is not use real tables in your reports. Always use a SQL-SELECT to create a single cursor that joins all the related tables and base the report on the cursor instead of the tables.

>Thanks to those who reply. I come across this commands CREATE VIEW and SET VIEW. CREATE VIEW save the current environment and SET VIEW restore the environ. but it does not save the record number...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform