Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need advice on opening tables
Message
From
11/01/2005 11:06:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975995
Message ID:
00976059
Views:
9
>2. Open all tables when the exe is first instantiated.
> a. You can have Splash screens and other bells and whistles lighting up the CRT while the tables open. This is less likely to causes a user problem with “load time”. All tables are ready for use. In your Form you simply reference whatever alias is required.

It is interesting to note that sometimes a trick called "delayed instantiation" is used (in a form with several Pages) to do more or less the opposite: instead of concentrating all the delay at the beginning, spread it over time (i.e., only instantiate objects on a page when a user clicks on it).

Of course, it is not just a matter of concentrating or spreading the delay: in the case of the form with delayed instantiation, it is quite possible that the user doesn't use a certain page, so that time is saved. And in the case of opening tables, it is likely that some tables will be used over and over again.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform