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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check that field is not blank

Status
Not open for further replies.

jsnunez

MIS
Feb 4, 2004
72
0
0
US
Hi all

In a adp form bounded to a table.

What is the best way to check if a field has a value ?

I have a field where the user enters dates. The field is required. The is not a default value, such as today's date.

thanks
Jose
 
Use the Form_beforeupdate event procedure and test the field. If it is empty then cancel the update by setting Cancel = True and use a msgbox to advise the user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top