Quote:
Originally Posted by r937
try IIf(IsNull([datecol]),#12/31/9999#,[datecol])
|
Yup, that worked. Many thanks.
Quote:
Originally Posted by Sinndho
I'm not sure that Nz() is accessible from the Jet engine.
|
Well, except you can use Nz() in queries:
Code:
select *
from mytable
where nz(start_date, #12/31/9999#) > nz(end_date, #12/31/9999#)
Not that you're wrong, but it seems pretty arbitrary that a built-in function that works with plain SQL queries is suddenly not recognized when trying to implement table constraints.
Another fruit basket to Micros**t for wasting my time with their broken software. They must be piling up on their desks by now....
P.S., thanks for the link; very helpful.