W
Winnie
I have several related date columns like DateReceived,
DueDate, CompDate, QtrReceived, QtrDue, CompAtr, etc. I
tries to set some validation rules in order to avoid
typing (data entry) errors for the following columns:
DueDate: [DueDate]>=[DateReceived]
CompDate: [CompDate]>=[DueDate]
QtrReceived: DatePart("q", [DateReceived])
QtrDue: DatePart("q", [DueDate])
CompQtr: DatePart("q", [CompDate])
Since the validation rules set related to other columns,
I got the error message of "Invalid SQL syntax-cannot use
multiple columns in a column-level CHECK constraint."
Please help if you know any other way to accomplish the
job I want to do.
Thanks,
Winnie
DueDate, CompDate, QtrReceived, QtrDue, CompAtr, etc. I
tries to set some validation rules in order to avoid
typing (data entry) errors for the following columns:
DueDate: [DueDate]>=[DateReceived]
CompDate: [CompDate]>=[DueDate]
QtrReceived: DatePart("q", [DateReceived])
QtrDue: DatePart("q", [DueDate])
CompQtr: DatePart("q", [CompDate])
Since the validation rules set related to other columns,
I got the error message of "Invalid SQL syntax-cannot use
multiple columns in a column-level CHECK constraint."
Please help if you know any other way to accomplish the
job I want to do.
Thanks,
Winnie