You could make a little function that checks your two dates, I would do it like this:
Function end_date_check(start_date,end_date)
if end_date<start_date then
msgbox "Your end date must be after the start date."
else
end_date_check=end_date
endif
end function
This will alert the user when it finds a date error, you may wan't it to return a specific date to signify an error (to make it easier to use in a query), if so, just remove set the end_date_check value after the msgbox.
To use it all you have to do is replace [end_date] with:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.