>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?
Just make it Default Data Session and you don't have to change anything anywhere. It will automatically get the Caller form DataSession.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.