>Hi Mark,
>
>Your response to Chuck reminded me of a problem I had awhile ago. I created an instance of a (new)form based on a form class in which I had the default data session. I was expecting the newly instantiated form to inherit the data environment from the (old)form (i.e. private-datasessioned) that contained the CreatObject command. But it turned out that the tables already open in the (old) form are not accessible from within the (new) form.
>How do you share data of a private datasession form with a new form with default datasession and the new form is created from with the private-datasessioned form ?
>
>Thank in advance!
>
>Kam.
>
They should be. If you have a private datasession form and it instanciates a new form class that has the default datasession, it should be using the datasession of the first form, the private datasession. If that's not what you're seeing, you must have some code somewhere in your class hierarchy that's fooling around with the datasession setting.
>>That setting is only effective for the current data session. If you open >another form that uses a private datasession, whatever BufferMode is set by >that form will be in effect.
>
>>If you open a form that uses the default datasession, that form will inherit >the buffer setting of the data session from where the form is instanciated.