Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to do it
Message
 
 
À
17/10/2004 10:28:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00952070
Message ID:
00952093
Vues:
13
You should open all tables shared in your form's DE or in Load method (if you want to do it in code). Never write select 1, select 2, etc., always use SELECT 0.

Your main form should have private datasession. If you invoke child forms from your main form, they should use default DS, this way they would share same DE as the "main" form. If all forms are indepemdant, all of them should use private DS.

>hi all,
>
>i useto free tables at my project,
>i put all tables i use at the mean form as (at procedure activate)
>i need to use those tables at (add form1,modify form2,delet form3.......)
>i get sometimes errors(alias not found, file must open exclu) when i move from form to another....
>/remark:-more one user can useit
>
>under//object myform      procedure    activate//
>select 1
>use mstr
>select 2
>use trans1
>select 3
>use book1
>
>select 4
>use book2
>select 5
>use temp
>*zap
>delete all
>
>
>thanks.
>
>m.qasem
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform