Hi Martina,
I was thinking of trying this way today. Thanks for advice.
>Hi Robert,
>you can in second form.Load() assign datasessionid from first form.
>
>MartinaJ
>
>
>>I do have a form which contains some tables in it's dataenvironment. The tables inside the DE are not present physically but loaded from SQL Server - it's about converting from VFP dbcs to SQL Server.
>>
>>So far so good.
>>
>>The form uses a lookup form from which some values can be selected - it's a separate form that receives the table to display as parameter (eg: do form lookupform with 'table1').
>>How can I use a table from inside the form's DE in this new form?
>>
>>Any ideas?
>>
>>TIA
robert.oh.