J
jazzbah
I'm trying to program the Before Update Event for a text box on my
form. I seem to be getting thwarted by a system message like, "The
value you entered isn't valid for this field" and leaves the focus
remaining in the text box, with the offending text (or in this case a
date) in tact with the cursor blinking in the field. I have tried
using the me.txtOrderDt.undo, but it seems that the system message
overrides this and the undo event does not happen. Ideally, I would
like to see the text box undone and returned to the existing value
that was in the box before the invalid text was entered. Can I bypass
this system message? How do I achieve what the user could achieve if
they pressed the Esc key?
Thanks
David G
form. I seem to be getting thwarted by a system message like, "The
value you entered isn't valid for this field" and leaves the focus
remaining in the text box, with the offending text (or in this case a
date) in tact with the cursor blinking in the field. I have tried
using the me.txtOrderDt.undo, but it seems that the system message
overrides this and the undo event does not happen. Ideally, I would
like to see the text box undone and returned to the existing value
that was in the box before the invalid text was entered. Can I bypass
this system message? How do I achieve what the user could achieve if
they pressed the Esc key?
Thanks
David G