Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table (Error 1152)
Message
From
28/01/1999 09:53:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00181272
Message ID:
00181301
Views:
12
To add to Edward's reply: it's because your close all closes one or more tables that are referenced in events that are firing as the form is destroyed.

If you use the DataEnvironment and have autoCloseTables set to .T. then you don't even need to worry about closing a form's tables.

Are you using a prg or form for your application's main object? I'd suggest a prg. I think it's easier to maintain the shutdown code.

If you haven't already, you might want to check out the Tastrade solution sample or application wizard for ideas on clean up code.

HTH


>Cannot access the selected table (Error 1152).
>I have a form with an Exit command button.
>This is the only code in the Exit button -
>THISFORM.Release
>CLOSE ALL
>QUIT
Previous
Reply
Map
View

Click here to load this message in the networking platform