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

Required info

Status
Not open for further replies.

brbarto

Technical User
Sep 6, 2001
34
0
0
I have a combo box (LastName) on a subform (driver infomation). (The main form is the vehicle rental request.) The user picks a last name (or types it in). The SSN is what is stored.
How do I make it required that the user must enter at least one driver?

Thanks
 
Use this OnAfterUpdate() Event of LastName

If IsNull(Me.LastName) Then
MsgBox"THI FIELD IS REQUIRED",VbInformation,"Error"
Else
'Do Nothing
End If Best Regards

---
JoaoTL
mail@jtl.co.pt
My MS Access Site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top