>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement