Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form instantiation
Message
De
08/05/2003 09:56:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/05/2003 09:50:14
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00785746
Message ID:
00786222
Vues:
25
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform