Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizObj question
Message
De
15/03/2004 22:01:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
15/03/2004 18:34:02
Steven Kleypas
Tarrant County College District
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00886341
Message ID:
00886576
Vues:
15
Steven,

You're correct... BizObjs don't have that property. It's the data environment that you're looking to alter. In your add form's PostInitHook (assuming that you dropped that BizObj directly on the form), get a reference to the DE and make the change:
LOCAL loDE
loDE = YourBizObj.GetDataEnvironment()
loDE.AutoCloseTables = .F.
Hope that makes sense,
---J

>Jason,
>
>>Set your environment's AutoCloseTables = .F. after instantiating the lookup control on your "add form."
>
>Thanks for the reply. I don't believe that the MM framework bizobj's have such a property. After thinking this thing over, it may be better to change the "add form" so that it has its own bizobj (although redundant) and data session rather than sharing the one on the parent form. This would also make some other things on that form easier to do. Any other comments are welcome!
>
>Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform