SET DATASESSION is not recommended for use when any forms are active. Perhaps what you need is a Custom object to act as a messenger, that is, to store the values you need independent of any datasession.
>Sometimes when I am in a private datasession there is a value in another data session I want.
>
>I realise I can use set datasession to switch back to the other session
>get the value and then switch back again but I wondered if there was a different way that I have missed.
>
>Thanks
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05