Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private datasession issues..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00153491
Message ID:
00153887
Vues:
26
>hi David,
>
>>If that method were a method of your form class then it would work in both private DS and default DS forms. That's the way I handle SETs that are scoped to the DS. If you look at the HELP DATASESSION topic it shows the SETs that have DS scope.
>
>
>That's correct. IF it were a method from my form class. But we use an CustomObject where we put all our methods. And if we call a method which containts SET commands from our customobject via a private datasession form when the SET commands won't work in that private datasession form.
>
>Somebody suggested to change the current datasession from the Custom object to that of the private datasession. This worked fine. But we don't know when the form is released in WHICH datasession the customobject is. Did it go back to the global datasession or??
>
>Do you know?

You could reset the CustomObject's DS to 1 [which is the default/global DS] when you exit a method.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform