Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to exit my application after an error
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941058
Message ID:
00941063
Views:
11
Try:
* In Main Programm
ON ERROR ErrorHandler(ERROR(),PROGRAM(),LINENO())


PROCEDURE ErrorHandler(nError,cProgramm,nLineNo)

 *****
 CLEAR EVENTS
 CLOSE ALL
 CLEAR ALL
 QUIT 

RETURN
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform