Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Session, what set commands does they need?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00755183
Message ID:
00755233
Views:
10
>Hi Claude,
>
>FWIW, here's the one I use. Notice it's a regular .prg file, because that way it sets the current data environment. If it were a class, it would set the environment that was active when the class was instantiated.
>
* Program....: SETPRIVATEDATASESSIONENVIRONMENT.PRG
>* Version....: 1.0
>* Author.....: Andrew Coates
>* Date.......: March 27, 1999
>* Notice.....: Copyright © 1999 Civil Solutions, All Rights Reserved.
>*            : Released into the public domain Febuary 20, 2003
>*            : Code supplied AS-IS -- No warranty expressed or implied
>* Compiler...: Visual FoxPro 06.00.8167.00 for Windows
>* Abstract...: Sets the environment for a private data session - called from a program because it operates in the data session from which it was called
>* 	as opposed to method code which operates in the data session of its parent object
>* Changes....:
Is it Tuesday already in Australia?
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