G
Guest
I cannot find any mention of this issue.
Its probably me, but I can't figure it out. I wish to compare dates and
return a message sometimes. Seems simple enough, not gettin' it. See code.
If Me.txtStartDate < Me.txtEndDate Then
response = MsgBox(msg, style, title)
End If
txtStartDate and txtEndDate are formatted m/d/yy, exist on the form, but
when I run the code I get nothing. Example: [StartDate]= 3/1/07 and
[EndDate]=3/15/07 will not return the message.
I know that dates/times are not the same as plain integer, but what am I
doing wrong...the help isn't much help.
As usual, any help is very much appreciated.
Its probably me, but I can't figure it out. I wish to compare dates and
return a message sometimes. Seems simple enough, not gettin' it. See code.
If Me.txtStartDate < Me.txtEndDate Then
response = MsgBox(msg, style, title)
End If
txtStartDate and txtEndDate are formatted m/d/yy, exist on the form, but
when I run the code I get nothing. Example: [StartDate]= 3/1/07 and
[EndDate]=3/15/07 will not return the message.
I know that dates/times are not the same as plain integer, but what am I
doing wrong...the help isn't much help.
As usual, any help is very much appreciated.