Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for easy answer to error msg.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00310673
Message ID:
00310692
Views:
19
>I get the error "Cannot access the selected table" sometimes when I exit my form. Is there an easy way to find out which table it is referring to?
>
>I have a Click for my Exit Button that closes multiple tables (as many as 7 or 8 tables) using the following code for each table followed by the QUIT command at the very end of all the table close commands. Sometimes I get no error, sometimes I get the error once upon exit.
>

Rather than what you do here, why not simply have:

CLEAR EVENTS
Thisform.Release

and then put

CLOSE ALL
QUIT

after the READ EVENTS or DO FORM in the main?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform