Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need advice on opening tables
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Need advice on opening tables
Versions des environnements
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Divers
Thread ID:
00975995
Message ID:
00975995
Vues:
57
I am looking into simplifying maintenance of my app. and perhaps reducing the size of the .exe file. The following is one aspect where I think I could improve things but I want to be sure that there are no side effects.

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?

Thank you.
"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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform