I have a form that based on the category the user chooses three fields are required information that they must input or the record is incomplete. I also want to display a unique message if they do not put data in the field.
The following works for one field but there are two additional fields that I require. For example PO# and Date
Can anyone help?
The following works for one field but there are two additional fields that I require. For example PO# and Date
Code:
If Me![CategoryName] = "Travel" Then If IsNull(Me![ClientNumber]) Then MsgBox "You must provide a Client Number to use this category" Me![LocNo].SetFocus Cancel = True Exit Sub End If
Comment