J
jubiiab via AccessMonster.com
Hi
Below I have made a small code but the VB-editor keep writing:
Compile error: Expected: =
There is something wrong with the MsgBox but what??
Private Sub Form_Open(Cancel As Integer)
If [ServiceDate] < Now() Then
MsgBox ("service date overdue!", vbInformation, "Service date" )
End If
End Sub
Below I have made a small code but the VB-editor keep writing:
Compile error: Expected: =
There is something wrong with the MsgBox but what??
Private Sub Form_Open(Cancel As Integer)
If [ServiceDate] < Now() Then
MsgBox ("service date overdue!", vbInformation, "Service date" )
End If
End Sub