Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controling DataEnviroment at run time
Message
From
16/03/1999 10:06:34
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00198030
Message ID:
00198064
Views:
20
Don-

>could you just pass as a parameter the datasessionid from the first form to the second
You might already be aware that this technique isn't recommended by MS except as a debugging/development tool. Doesn't mean it doesn't work, as you found, but it's generally not considered "good form" so to speak. Frankly, I've never even needed it during development, since, if you break the program, the command window commands will operate on the current datasession. And if you need to know about another, then you're probably violating rules of (as I understand them) encapsulation.

This really isn't a quibble...It maybe that datasession IDs will change and you may lose functionality in the future. Just something to be aware of.

>If you need the actual data enrivonment object, then you could just pass the entire form as a parameter to the other form
You can also just pass the data environment object itself if you don't need the whole form object.
Previous
Reply
Map
View

Click here to load this message in the networking platform