Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table (Error 1152)
Message
De
28/01/1999 09:53:35
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00181272
Message ID:
00181301
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform