>>>>PMJI. As others have pointed out you shouldn't need to have to explicitly close the table. This sounds as if the form is not releasing properly (dangling ref?).
>>>>Does the DE.CloseTables() actually run ?
>>>>
>>>
>>>The form in question does not use DE object at all. It is based on a VCX class.
>>
>>So does the form.Unload() run ? Does the datasession disappear from the Datasession window after the form is released ?
>>
>
>The .Unload() method runs. I actually have no code there but I just put a messagebox() there, just as a test, and the messagebox shows.
>As far as your second question, I am not sure how to answer it. There is no Datasession window in the application so I can't see it. I am probably misunderstanding the questions.
Dmitri,
You can open up the datasession window (Window->Data Session) before you start your app and then refer to it while your app is running.
HTH,
Jim