Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping an Error
Message
 
 
To
23/04/2000 13:08:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362580
Message ID:
00362606
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform