Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sets that are linked to a datasession
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00009497
Message ID:
00009574
Vues:
30
>I think it is great that we can have private datasessions, with independent SET settings (cf. set DATE, set DATASESSION, etc.), but what I do not understand is why they are reset to some defaults each time other objects are invoked, let allone instantiated.
>
>Would it not have been easier if these SETS simply kept their values unless they are changed.?
>
>Does anybody understand why this was been implemented the way it was, and is there an easy way around this or _do_ we have to handle these SETS on an ad hoc basis, if we use local datasessions in our forms.
>
>TIA
>
>Marc


I normaly put a call to a user funcion, or metod, in the beforeopentables() metod in the datassesion of the form. I do not know if it is the best way, but it works and it´s easy to mantain and change if you have the function in a "set procedure to " refrenced program.
if somebody have another way, let me know, please.
------------------------------------
Miguel Angel Hernaiz
miguel@gnomo.net --- miguel@vfug.org
ICQ: 3813422 --- www.gnomo.net
------------------------------------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform