Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabbed Forms
Message
De
24/05/1999 13:52:52
 
 
À
24/05/1999 11:01:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00221929
Message ID:
00222145
Vues:
23
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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform