Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Sessions - How Do They Behave?
Message
From
04/10/1999 09:01:27
 
 
To
04/10/1999 07:02:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00272224
Message ID:
00272253
Views:
18
Hi Harry.

>> and so on, none of these are proving - yet - to be major obstacles, but I'm wondering where you can find a sensible summary of what we should expect from private data sessions and how we best troubleshoot them. <<

Many of the issues you mention are being caused by the fact that many of VFP's SET commands are scoped to the current datasession. For a complete list, see the on-line help on SET DATASESSION.

If you have routines, such as the ones you mentioned in your menus, that operate on data, you must first make sure that they are operating in the correct DataSession for _Screen.ActiveForm. The default datasession has a DataSessionID of 1. Private datasessions are assigned their own DataSessionIDs beginning with 2.

Check out the on-line help on DataSessionID property.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform