Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set order / private datasession
Message
 
 
À
14/11/2001 09:46:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00581452
Message ID:
00581494
Vues:
26
This message has been marked as a message which has helped to the initial question of the thread.
>I want to invoke SET ORDER TO from a function, outside of the form. How do I make it apply to the form, which, of course, has a private datasession?
>
>I was thinking about SET DATASESSION, but the manual gives this warning: "SET DATASESSION is typically used to debug forms, and should not be issued when a form is active.". How serious is this?
>
>TIA, Hilmar.

As far as I know, if you run your function from a form (say, command button), this function already operates within Private Form's DS, so you don't need to do anything special.

Otherwise you can pass Form's DS as a parameter. My colleagues use SET DATASESSION to lnPassedDS lots of times in a code without problems...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform