Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form instantiation
Message
From
08/05/2003 09:56:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/05/2003 09:50:14
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00785746
Message ID:
00786222
Views:
26
>Correction there, it should instead read opening all tables during program start instead of during each form instantiation.
>Yau

Yes, that can make you open tables faster.

I will assume you use private datasessions, since this is usually the best way to work with tables / forms.

Open the tables at program startup, in the default datasession.

Open the tables again in each form.

There is no need to close the tables in each form - if the form has a private datasession, it will close the tables automatically.

If the tables were already open in the default datasession, they should open faster in each individual form.

HTH,

Hilmar.
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
Next
Reply
Map
View

Click here to load this message in the networking platform