Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which datasession will the object sit in?
Message
From
03/12/2002 11:45:06
 
 
To
03/12/2002 11:03:53
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00729013
Message ID:
00729041
Views:
17
This message has been marked as the solution to the initial question of the thread.
Hi Kevin.

>Will any references to this.oApp go back to the data-session that poApp was created in, or will it stay within the current form's datasession?

Any code you run in methods of poApp will execute in the datasession that poApp was created in. You'll see this if you trace code from the form calling a This.oApp method -- the value of SET('DATASESSION') will switch as execution moves to the poApp method and back again upon return to the form method.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform