Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need advice on opening tables
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975995
Message ID:
00976014
Views:
16
>>In all my forms, in the LOAD method, I open only those tables that are used by the form. Most forms have Private Data Session. I am thinking about creating a procedure (in a .prg file) that would open ALL tables. Then in the LOAD method of all forms to call this procedure.
>>
>>Does the above seem like a reasonable approach or do you see any potential problems here?
>
>I beleive that you may slow your app down. MaxFrame has the concept of opening all tables on loading the EXE, the theory being that since those opened in a form's DE are effectively used again, they will open quicker.
>
>However, I changed the EXE load to just the essential tables, which speeded up the EXE load considerably, and had little effect on the opening of the individual forms.
>
>Kevin


Thank you for your input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform