Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving code from de.beforeopentables to form.load
Message
 
À
10/02/1999 18:49:15
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00186197
Message ID:
00186445
Vues:
17
Hi Nancy,

>
>thisform.dataenvironment.OpenTables()
>
>It's a snap...no need to USE
>

Is there a downside to not using the DE? I, too, use form classes exclusively. This goes back to my days of using Codebook for VFP 3.0. I read in the documentation somewhere that DE's are very slow in loading, especially with large record sets. Since then, we have been creating "mock" DE loader methods linked to a form classes that issue the regular USE, SET RELATION, etc. and all the other things required. Is using USE now considered passe?

Out RI is maintained in the DBC, and granted, we have had to code a little bit to enforce the rulres on the form, but it has never been a tough exercise. I am just curious as to whether we are using a reasonable approach or not.

Obviously there have been great performance improvements since VFP 3.0, and I wonder if these improvements apply to the DE as well? We seem to have carried our approach over through VFP 5 and right into VFP 6.

Any thoughts here?

Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform