Try this little trick:
lnDataSession = SET("DATASESSION")
SET DATASESSION TO x
&&Put whatever code here
SET DATASESSION TO (lnDataSession)
>While debugging some software, I noticed a strange behavior. My datasessions refused to change when I issued "set datasession to x". So, I looked in the MS Knowledge Base. Article number Q191316 states that this behavior is "by design". I beg everyone to take a look at this article. Other than not calling the method from the _SCREEN object, can anyone think of a work around? Any help would be appreciated.
>
>Thanks
- Jeff