A
alex
using Access '03...
Allen Browne wrote this a few years ago:
/"Note that an undo button on a form is of limited use. If you are in
the
/process of entering something invalid, Access won't let you out of
the
/current control until you fix that. Consequently you can't even get
to the
/undo button if the current entry is invalid (such as 1/1/ in a date
field,
/or backspacing all characters out of a required field.)"
I have a form with a few validation rules...while I'm testing the
form, what Allen said above is quite apparent.
Let's say a user gets halfway through entering a new record; hits a
field with a validation rule on it and becomes frustrated and changes
his/her mind about entering the record or just wants to start over
(even though you have good validation text).
Is there a cmd button with code that will cancel adding/saving the
record that's currently being added?
alex
Allen Browne wrote this a few years ago:
/"Note that an undo button on a form is of limited use. If you are in
the
/process of entering something invalid, Access won't let you out of
the
/current control until you fix that. Consequently you can't even get
to the
/undo button if the current entry is invalid (such as 1/1/ in a date
field,
/or backspacing all characters out of a required field.)"
I have a form with a few validation rules...while I'm testing the
form, what Allen said above is quite apparent.
Let's say a user gets halfway through entering a new record; hits a
field with a validation rule on it and becomes frustrated and changes
his/her mind about entering the record or just wants to start over
(even though you have good validation text).
Is there a cmd button with code that will cancel adding/saving the
record that's currently being added?
alex