Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handler to stop a procedure?
Message
From
14/07/1999 13:46:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Error handler to stop a procedure?
Miscellaneous
Thread ID:
00241384
Message ID:
00241384
Views:
50
In the beginning of a the click procedure I have:
ON ERROR DO ERROR WITH ERROR()

In the error procedure I have:
THISFORM.RELEASE

I have 'THISFORM.RELEASE' because I want to close the current form and have focus go to the form that was previously in focus. But, the current form is not released and the click procedure continues on after the error. How can I stop this procedure?
Next
Reply
Map
View

Click here to load this message in the networking platform