Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you create a private data session in a program?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00550412
Message ID:
00550422
Views:
16
Dear John,

Actually opening of tables when not yet required in modules in a forms is not advisable. You need to used DataEnvironment to declares all your tables that are being used in that modules in form using 2 private data session. Global or openning of common tables are declared when necessary. You can change the default setting at the loadevent of the form before executing the DODEFAULT() code.


Example at load event method :

------ put your syntax here to change the default setting of the form

DODEFAULT() && to execute the standard VFP class codes.

------ place some other codes if there still remaininf codes to execute like
create cursors and etc.


Regards
Reymund
Previous
Reply
Map
View

Click here to load this message in the networking platform