Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE IN cursorName
Message
From
11/01/2007 13:57:28
 
 
To
11/01/2007 13:49:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184698
Message ID:
01184709
Views:
15
>Hi Sir,
>
>Is there a way to close everything at once instead of going through every cursor and closing each one of them?
>
>Please advice.
>
>Thanks,
>Sam

CLOSE DATABASE ALL or CLOSE TABLES ALL will certainly close a lot, or everything depending if dbc file exists/open. However, it is not what you try to get, correct? Basically, working with cursors it's better to treat them on case-by-case basis: you create it, use it and close it. If it is used within one procedure then close it at the end, if within one form then create in Load and close in Unload event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform