My parameter query uses the DateDiff function in a calculated field to determine the number of days between open and close dates. Works fine. I want a related report to count records where DateDiff <46 and show the count.
The expression is:
=DCount("[NewNo]","selected dates","[Process] < '46'")
where "selected dates" is the query and "Process" is the calculated field. Access 2003 accepts the syntax but returns "#Error". I tried several variations such as "[Process] = '<46'") w/o effect. Any suggestions appreciated. Thank you.
Fred
The expression is:
=DCount("[NewNo]","selected dates","[Process] < '46'")
where "selected dates" is the query and "Process" is the calculated field. Access 2003 accepts the syntax but returns "#Error". I tried several variations such as "[Process] = '<46'") w/o effect. Any suggestions appreciated. Thank you.
Fred