Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping an Error
Message
From
24/04/2000 12:23:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362580
Message ID:
00362795
Views:
18
Thanks for the help David,

In this case it was my fault as I forgot to include a file in the DE...

John

>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...
Previous
Reply
Map
View

Click here to load this message in the networking platform