Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I prevent a class from changing datasession?
Message
De
08/06/2002 01:31:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
How can I prevent a class from changing datasession?
Divers
Thread ID:
00666267
Message ID:
00666267
Vues:
70
I created a custom class, and sub-classed it for each table in my database.
I createobject() in dbc_AfterOpenTable(cTableName). I put all my data validation routines into it, but sometimes when one of the methods starts, it switches datasessions and can't find the table. I think I reached the conclusion that it switches to whatever datasession it was created in. And whenever I try to use it from a different datasession, it crashes.

TIA
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform