Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set order / private datasession
Message
 
 
To
14/11/2001 09:46:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581452
Message ID:
00581494
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform