Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE IN cursorName
Message
From
11/01/2007 14:24:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/01/2007 14:10:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184698
Message ID:
01184740
Views:
22
>Hi Borislav,
>
>Thanks for the input. I don't know how to use Private DataSession in my form? Please help.

Just set the form.datasession=2 (private) and that's it. You need to do that in edit mode, when it instantiates at runtime it's too late.

There's a catch, though - many SET commands are scoped to the datasession, so such settings that you may have in place in the main .prg of your app will need to be set again for each form. Most frameworks solve this by calling some sort of setenvironment prg (or method) in form's .load method. For a list of such settings, see help for SET DATASESSION Command.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform