Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00059867
Message ID:
00060187
Vues:
21
>>Anyone can help me on this:
>>
>>1. In fp 2.6, I open my database and initialise my variables in setup. In VFP 5.0, where do I do that?
>>
>>Many thanks
>>
>>From Samuel
>
>There are many ways to do this, here are some:
>
>- Place your tables in the Data Environment and define your variables in the Load Event.
>- Open your tables in your startup program.
>- Define your variables as properties in your form.

Samuel, in addition to Benn's suggestions look into Data Buffering. Using buffering means you don't have to initialize variables for the fields you are editing as the data in the tables isn't updated until you tell the buffer to save the data. MUCH easier than scatter/gather or individual field variables.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform