Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot clear object because object is in use..
Message
From
12/01/2007 19:13:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/01/2007 18:00:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01185291
Message ID:
01185297
Views:
12
>MSDN says this. Interrupt the running code or wait until it completes before clearing memory.
>
>How do I interrupt the running code then?
CANCEL
Commands like CLEAR MEMORY, CLEAR ALL, and CLOSE ALL can be used close to the startup of your system, or at the end, but not in the middle of it, once it is running, because there are too many side effects. For example, CLEAR MEMORY will clear all variables; most likely, some programs are still using those variables.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform