I have a form with an unbound field [txtEndDate]. I have a button that if today's date is after this date, I want a message box to appear. I used this statement:
If (txtEndDate < Date) Then
MsgBox "Unable to delete"
Then I tried to make another unbound field with today's date in it and use it in the code:
If (txtEndDate < txtToday) Then
MsgBox "Unable to delete
Neither worked. The code just goes straight past it and into the ElseIf part of the code.