M
Marco
In a form i use:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.fielddate) Or IsNull(Me.field1) = True Then
MsgBox "The fields are required", vbExclamation, "Fields"
Cancel = True
Me!txtfielddate.SetFocus
Exit Sub
End If
End Sub
and after i click Ok in msg Fields i get en error:
Microsoft Office Access can't find the field 'Forms' referred to in your
expression.
How can i remove it ?
thx
Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.fielddate) Or IsNull(Me.field1) = True Then
MsgBox "The fields are required", vbExclamation, "Fields"
Cancel = True
Me!txtfielddate.SetFocus
Exit Sub
End If
End Sub
and after i click Ok in msg Fields i get en error:
Microsoft Office Access can't find the field 'Forms' referred to in your
expression.
How can i remove it ?
thx