Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Session Problems
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00223621
Message ID:
00223759
Views:
28
>OK I understand that these the SET items can get changed in a private datasession, but under what method of the form or datasession do I set them again. Thanks for your help!! This is killing me.
>

In your base form class'es load method you can issue your set commands... make sure you set exclusive off.

I just did a test and it worked fine...

Create a form, set data session to private... in load put this code...

set exclusive off
open data mydatabase

Then I saved it...

In the command window I did...

set exclusive off
open data MyDataBase
* the database is now opened in the default session...
do form test1
* form opened with no errors... look at session window
set
* notice there is now a data session called form1

***************
BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform