Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping an Error
Message
 
 
À
23/04/2000 13:08:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362580
Message ID:
00362606
Vues:
19
John,

Use a FILE() call to verify the existence of the file in the Load() and return .f. if it doesn't exist this will prevent your form from instantiating at all.

>
>That helped me understand... Now I get things to shut down after only two errors.. The cause of the error is a missing table but what I am trying to do is a gracefull exit instead of generating 25 errors because of a missing or crapped out table...
>
>I added some code to show the line and for some reason it does not bail out until after the second error that is 4 lines down in the code...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform