>I am trying to clean up come of my class codes. and I am looking for a suggestion, as to when - where someone should be cleanup close cursors in a class - like a base class form.
>
>what I am thinking about is that when a form - classform closes - it should close and clear out any cursors it made.
>
>
>However , and here is the question really, from my menu form, sometimes I create cursors from there, and when I return to the menu, the cursor is still open. I dont think it would be a good idea to close all cursorts when one form closes, (what if Other forms are open) Just a little confused about a good way to hanldle this type of thing.
>
>Thank you
>
>Bob Lee
Bob,
What I do is to use private datasessions. Every form is responsible of its own cursors/tables opened and any one could access a different session if need be.
Cetin