Hi Michel,
I tried this code and it works correctly for me. The SET DATASESSION TO correctly activates the right data session. i.e. 1
My question must be why are you trying to set the datasession anyway ?
Darrel
>>In the help, it says that SET DATASESSION TO will activate data session 1.
>>
>>In my case, I have the following code:
>>
>>MESSAGEBOX(STR(lnDataSession))
>>SET DATASESSION TO
>>MESSAGEBOX(STR(lnDataSession))
>>
>>The first message box says 2. This is the private data session of the current form. But, the second message still says 2. Wasn't it suppose to switch to 1?
>
>You may ignore this message. I should have wrote SET('DATASESSION'). :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only