N
Nico
I have a form which users enter requests, and I want to ensure that the field
UserID is filled in before they enter a close date (ClosedDate) in the form.
Private Sub ClosedDate_Enter()
If Forms![frmtrackingforms]![sfrmTrackingRequests]![UserID] Is Null Then
ActiveDocument.FormFields("UserID").Select
MsgBox "Please enter the user ID.", vbOKOnly
Else
End If
End Sub
I'm getting an error when I try this, saying that my variable is not
defined, but I'm not sure which bit needs to be defined?
Thanks for any and all help.
UserID is filled in before they enter a close date (ClosedDate) in the form.
Private Sub ClosedDate_Enter()
If Forms![frmtrackingforms]![sfrmTrackingRequests]![UserID] Is Null Then
ActiveDocument.FormFields("UserID").Select
MsgBox "Please enter the user ID.", vbOKOnly
Else
End If
End Sub
I'm getting an error when I try this, saying that my variable is not
defined, but I'm not sure which bit needs to be defined?
Thanks for any and all help.