Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put CREATE CURSOR code
Message
From
24/07/2001 15:17:04
 
 
To
24/07/2001 15:12:35
Hermann Strijewski
Fast Track Business Solutions
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00534588
Message ID:
00534590
Views:
17
>I believe the problem is that I create cursors in the Data Environment BEFOREOPENTABLES code, which then don't get closed properly when the form exits.

How about using teh Load() event? Thats what the load event is actually for, to open the table you need before the controls start to init.

>Where do I need to put code to CLOSE these cursors so that they will always get closed properly:

Well, if its a private datasession they'll get closed automatically, otherwise, Unload or Destroy shoudl work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform