S
Steve G.
I'm wrote the following code to compare two different date fields, "Text377"
and "CurrentDate". When I view the data the dates they are the same, but
when I execute the following code, I receive the MsgBox error. Any idea
what's wrong ?
Private Sub Form_Load()
Dim CurrentDate
CurrentDate = Date
If [Text377] <> [CurrentDate] Then
MsgBox "Meeting Schedule Not Current", vbOKOnly, "Error!"
DoCmd.Close acForm, "Meeting Schedule List"
DoCmd.OpenForm "Decision Form"
End If
End Sub
and "CurrentDate". When I view the data the dates they are the same, but
when I execute the following code, I receive the MsgBox error. Any idea
what's wrong ?
Private Sub Form_Load()
Dim CurrentDate
CurrentDate = Date
If [Text377] <> [CurrentDate] Then
MsgBox "Meeting Schedule Not Current", vbOKOnly, "Error!"
DoCmd.Close acForm, "Meeting Schedule List"
DoCmd.OpenForm "Decision Form"
End If
End Sub