Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabbed Forms
Message
De
24/05/1999 16:21:30
 
 
À
24/05/1999 13:52:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00221929
Message ID:
00222220
Vues:
25
>Hiya Craig ---
>
>>In this case, set the datasession for each object. If I read the SP3 docs properly, there is a datasessionId property of each object, so you can bind it to the proper datasession. I haven't actually looked at this yet, but it seems the way to do it. I guess you could also SET DATASESSION in the Activate of each tab.
>
>Yeah, I noticed that I had inadvertently type "Activate of each form" when I meant "of each Page (in pageframe)". I dunno if I would use that architecture, seems cumbersome.
>
>A WAG here, but I'm thinking that the main advantage to the Session class may be in launching multiple instances of a non-visual object wherein each needs the same tables but should have different datasessions, ie, launch a new Session in the Init of the object and bind the two.

The SP3 docs state that in an MTDLL you can get data problems if you don't use private data sessions.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform