General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only