>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'). :)