access calendar help

  • Thread starter Thread starter Clay Forbes
  • Start date Start date
C

Clay Forbes

I have two calendars on my form. How can i make it so that when the
user clicks a command button it checks to see if the first calendar
date is greater than the second?
 
Put the following code in the Click event of the button:

If Me!NameOfFirstCalendarControl.Value > Me!NameOfFirstCalendarControl.Value
Then
MsgBox "First Date Is Greater Than Second Date"
End If
 
Back
Top