Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms and dataenvironment.
Message
De
23/02/2001 21:38:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00479125
Message ID:
00479143
Vues:
38
Hello again.

I've forgot: the private data session is great, but it has another big disadvantage: there are some commands scoped to the current datasession. One example is SET DELETED. Another one is SET EXCLUSIVE. If I use private datasession, my views will download the deleted records, disregarding the SET DELETED ON issued in main program. To be sure, I'm forced to write these commands in .BeforeOpenTables method. This method is in DataEnvironment, but the classes don't have a dataenvironment. So I can't write the code in a class to be inherited. And in this case, I am forced to write it in the every form. And I have about 550 forms in my app. And it's very frustrating...

Thank you again.

Grigore Dolghin
Grigore Dolghin
Class Software.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform