Yes! You are right Nadya.
I was me. In a sub-class of a control on the form that call a function which was doing a "set datasession to 1".
My testing found the DatasessionID set correcly in the load() event.
>>I am using a form with private datasession.
>>The form do not have any tables open. In the Load Event I open the tables.
>>
>>In the Init() of the form I want to use the table but the DataSessionID is set to 1.
>>
>>If I suspend the excution in the init() I can see the DataSession # 4 created for my form but the DataSessionID is not set to 4.
>>
>>Any one know when the DataSession is set to my privated datasession?