Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to close cursors
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00507737
Message ID:
00507747
Views:
5
>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

Close them as soon as you're done with them.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform