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

Required field

Status
Not open for further replies.

ZX188

Technical User
Mar 30, 2001
21
US
How would I make a field on a form required without setting the required proprities at the table level
 
You could code the Form's Before Update event.

If IsNull(YourField) Then
MsgBox "Data is required."
YourField.SetFocus
Cancel = True
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top