Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable table open dialog on error
Message
De
21/07/2002 00:22:31
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
21/07/2002 00:09:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00680839
Message ID:
00680840
Vues:
17
>Is there a way to disable the table open dialog that pops up on error like the one generated by this code?
>
>SELECT 0
>SKIP
>
Is that the real code? If so, I'd suggest that you shouldn't disable it, but fix it. SELECT 0 is, by definition, selecting an unused area. To do a skip is flat wrong.

Otherwise, select by alias and not area number, to be safe. And, if you can't be sure the alias is in use, check USED() first.

While I think this is a case where the error message is helpful and shouldn't be disabled, if you must, then you can do it with ON ERROR or with the error method (depending on context).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform