B
Byzantine
I've developed a class of forms that it is hoped will be used to edit records
in Access and am trying to run an event procedure when closing the form (the
Form on Close event). I.e when users click on the X at the top right of the
form.
I want to try and give my users the option of leaving the form eg:
Do you want to abort without saving ? If 'yes' is selected the form will
close. If 'no' is selected I'd want the form to remain open rather than
closing. This is easy to do from a button on the form but I can't seem to get
it to work when using the X to close.
Do I have to disable the X and do it with a button on the form, or am I
missing something?
Any help or innovative workarounds are much appreciated. Many thanks for any
help.
Regards
Byz
in Access and am trying to run an event procedure when closing the form (the
Form on Close event). I.e when users click on the X at the top right of the
form.
I want to try and give my users the option of leaving the form eg:
Do you want to abort without saving ? If 'yes' is selected the form will
close. If 'no' is selected I'd want the form to remain open rather than
closing. This is easy to do from a button on the form but I can't seem to get
it to work when using the X to close.
Do I have to disable the X and do it with a button on the form, or am I
missing something?
Any help or innovative workarounds are much appreciated. Many thanks for any
help.
Regards
Byz