Yes Fred,
and meant that putting _screen in parentheses.
>>>>set datasession to _screen.DataSessionID
>>>>*..
>>>>set datasession to thisform.DataSessionID
Cetin
>>Till you change the session back you'd be seeing default data session (_screen's).
>>Cetin
>
>Careful, Cetin. Default DataSession doens't necessarily mean _SCREEN's datasession. If you call up your form with the Default DataSession from a Private DataSession form, it will be using the same datasession as the form that called it.
>
>
>>>Hi Cetin, thanks for your reply.
>>>
>>>>But still you can't move the cursors between sessions (you can move arrays
>>>
>>>I'm not sure if I follow.
>>>Does this mean that ,If I change the data sesion in code, My Form will be able to 'See' my cursors as if it were a default data session ?
>>>
>>>regards,
>>>
>>>Gerard
>>>
>>>
>>>
>>>>>I Have a form which prints documents... working fine as a private data session..uses afew files etc.
>>>>>
>>>>>I now want to call this form from another form and do as little change to the form as possible. I can populate all files that are required beforehand, but because its a Private data session, it does not see them ??
>>>>>The easiest thing for me woudl be just temporarily, change the Datasession to a Default data session, and then my files can be seen.
>>>>>
>>>>>Anybody know a way of doing this or if not, some iother suggesyions ?
>>>>>
>>>>>Regards,
>>>>>
>>>>>Gerard
>>>>
>>>>set datasession to _screen.DataSessionID
>>>>*..
>>>>set datasession to thisform.DataSessionID
>>>>
>>>>But still you can't move the cursors between sessions (you can move arrays or objects).
>>>>Cetin