Refreshing a controls value

G

Guest

I have a combo box control. I used the BeforeUpdate event to validate the
entered value. If the value is unacceptable, I use the undo command to
return to the previous value.

This works, but the "unacceptable" value remains until I move to another
record and then return to the record I'm working on. I've tried Recalc,
Requery, Refresh, and Repaint of both the form and the control but nothing
works.

Any recommendations?
 
A

Allen Browne

The combo is bound to a control?

If you are undoing it, but the change does not show, I'm guessing that the
control has a different name from the field, and you are undoing the field.
Try undoing the combo instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top