Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

validity check bound field

Status
Not open for further replies.

ggoldberg

MIS
Feb 7, 2003
27
I would like to check a bound field entry to see if it is between two other fields on a form. I assume that I should do this in the BeforeUpdate event. If the field is between the two other fields, I want to accept it. If not, I simply want to warn the user, but all him to accept it if it truly is correct. How can I do this?

Thanks,

Gerry Goldberg
 
In the BeforeUpdate event procedure of the form you may play with the MsgBox function, the Cancel parameter and the SetFocus method.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top