Hello Naomi,
Thanks for explaination but for some reason (don't know exactly why) it doesn't work.
I'll assign the parent's DataSessionId in the init method and the problem is solved (hopefully).
This is the first time I have to deal with DE therefore I'm not that familiar with it - thanks for all your help.
>Robert,
>
>The only form you were needed to change was the Lookup form, where instead of Private DS you would use Default DS (set it in design-time).
>
>Here is how it works:
>Parent form has a private DS
>Child form (called by parent) has Default DS
>
>Thus child form automatically shares parent's DS. No manipulation with DS is required.
>
>I believe this idea was initially introduced by John Koziol 7 or more years ago.
>
>
>>Lots of forms call this picker form and and I'm looking for a way to easily manage this task of reusing the tables.
>>Assigning the 'Thisform.DataSessionId = _screen.ActiveForm.DataSessionId' in the form's init method fits perfectly and I don't have to change every single form.
>>
>>>>Hi Martina,
>>>>
>>>>I was thinking of trying this way today. Thanks for advice.
>>>>
>>>
>>>Why you don't want to use default datasession to share parent's private DS? Or do you want to ensure using private DS in case there is no "caller" form?
robert.oh.