kev510
Programmer
- Jul 12, 2006
- 61
Hello everyone,
I am trying to compare two dates while one of them could sometimes be blank. One date is stored in a table as smalldatetime, and the other will be entered in mm/dd/yyyy format in a text box.
I want an action to occur if the date are different (1/1/2000 compared to 5/5/2005), or when comparing one null to an actual date (example: NULL in the table, 1/1/2000 in the text box)
I tried using many functions, and they all cause an error when one value is null. Thanks for your time!
I am trying to compare two dates while one of them could sometimes be blank. One date is stored in a table as smalldatetime, and the other will be entered in mm/dd/yyyy format in a text box.
I want an action to occur if the date are different (1/1/2000 compared to 5/5/2005), or when comparing one null to an actual date (example: NULL in the table, 1/1/2000 in the text box)
I tried using many functions, and they all cause an error when one value is null. Thanks for your time!