Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How bad is to have...?
Message
De
22/11/2001 20:52:55
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/11/2001 15:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00584984
Message ID:
00585028
Vues:
36
>How bad is to have an application with lots of forms with private sessions?
>
>I am having some trouble with my application and I am getting sick debbuging it so I thought I could just leave the forms I have problems with, with the Datasession set to Private and debbug them with more time. (I have a deadline and basically that's the problem).

Generally it is healthier to use private datasessions for modeless forms, and default ones for modal forms called from them (i.e. if you want to synchronize content, stay on the same records etc, and the modal form doesn't try to reopen the tables which are already open).

You'd generally have less headache with private datasessions, for several reasons:
- no worries with wich tables to close and which not when you release the form, they all close
- no collisions with multiple open forms using the same tables
- you can open the same form many times and edit different records. Can't do that with the default datasession unless you keep inventing new aliases, which would need a lot of coding if your controls are bound.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform