G
Guest
I put the following code into my BeforeUpdate event and I'm getting the
following error message:
Run Time error '2465'
Microsoft Office Access can't find the field 'txtThis' referred to in your
expression.
Private Sub Form_BeforeUpdate(Cancel as Integer)
If Me!txtThis & Me!txtThat & Me!txtTheOther & Me!txtWho _
& Me!txtWhat & Me!txtIDontKnow = "" Then
Cancel = True
MsgBox "You must fill out every field in this form", vbOKOnly
End If
End Sub
HELP!
following error message:
Run Time error '2465'
Microsoft Office Access can't find the field 'txtThis' referred to in your
expression.
Private Sub Form_BeforeUpdate(Cancel as Integer)
If Me!txtThis & Me!txtThat & Me!txtTheOther & Me!txtWho _
& Me!txtWhat & Me!txtIDontKnow = "" Then
Cancel = True
MsgBox "You must fill out every field in this form", vbOKOnly
End If
End Sub
HELP!