Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabbed Forms
Message
De
24/05/1999 11:30:56
 
 
À
24/05/1999 11:10:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00221929
Message ID:
00222083
Vues:
22
>I don't think you would need the datasession class where you have a form or other class that already can create a private data session. You would use it with a class that doesn't have a private data session.
>
>For example, a middle-tier business object, based on custom, could use the data session object to keep it's data private from other business objects. Up to this point, people might do this with an invisible form, but the form has much more over head than custom or relation which I guess alot of people use.
>
>I wonder if you could actually even create your business object as a subclass of Session. Although, then you couldn't visually edit it, so probably not a good idea.
>
>Also, things like Ken Levy's supercls has a private session, I assume he is doing it with an invisible form, could use the session object.
>
>Doug Hennigs DBCX2 is based on a form so it can have a private data session... can be modified to be custom and use the Session class to provide a private data session.
>
>I am sure others can think of many other ideas.
>
>Hey, and I am not saying you won't use it in a form... perhaps in a form you could create a session for each historical version of specific record, then your combo box of versions would only have to set session and do a refresh... ALthough, I am not sure this would work if each control has a data session ID... perhaps you would have to do a SetAll ???
>
>BOb

I agree, in a form you normally won't use the session class. But the original post wanted a different datasession for each page in the page frame.
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