K
kmercer46
i want to use a form's OnError event to close the form if an error
occurs, but the event is not working. it just brings up the error
window with the End and Debug buttons. i remember seeing an option
somewhere that consults the form's event before any other control's
event, but i can't find that in any property windows. is that the
issue?
or.. maybe someone can hear my main problem and address another way to
handle it:
my form uses global variables. when an error occurs, though, the
project is reset and my variables lose their values. i want the forms
to close when an error occurs so that the user has to re-open the form
to refill the variables.
occurs, but the event is not working. it just brings up the error
window with the End and Debug buttons. i remember seeing an option
somewhere that consults the form's event before any other control's
event, but i can't find that in any property windows. is that the
issue?
or.. maybe someone can hear my main problem and address another way to
handle it:
my form uses global variables. when an error occurs, though, the
project is reset and my variables lose their values. i want the forms
to close when an error occurs so that the user has to re-open the form
to refill the variables.