Hi All,
I have a table with two dates. One is a request date and the other is a authorized date. I am trying to set up a validation rule in the table design view. Here are the rules. The authorized date can be null. The authorized date occurs later (chronologically) than the request date. I can't seem to get the syntax to work. I keep geting the message, "Invalid SQL syntax cannot use multiple columns in a column level CHECK constraint." The two fields have a data/time data type. The request date should be earlier than the authorized date by the same token.
So, what I did was I entered in the dateauth field in the validation rule: is null or [datereq]>[dateauth].
I would appreciate it feedback very much!
MV
I have a table with two dates. One is a request date and the other is a authorized date. I am trying to set up a validation rule in the table design view. Here are the rules. The authorized date can be null. The authorized date occurs later (chronologically) than the request date. I can't seem to get the syntax to work. I keep geting the message, "Invalid SQL syntax cannot use multiple columns in a column level CHECK constraint." The two fields have a data/time data type. The request date should be earlier than the authorized date by the same token.
So, what I did was I entered in the dateauth field in the validation rule: is null or [datereq]>[dateauth].
I would appreciate it feedback very much!
MV