Ok I'm making progress using a parameter query, but I have had to redefine my
creteria:
Area STATUSCHDT
STATUS
creteria [156]
"active" or "*pend*"
or [156] Date()-[Days Past] Date()
"expired" or canceled"
I have the parameter query down, but I can't get the calculated control,
Date()-[Days Past] Date(), to echo to my report.
It is really much easier if you post the SQL of the query, or the
relevant part of the SQL (the WHERE clause in this case) rather than
trying to wrestle with word wrap.
Your criteria on Status appear to be wrong: to use wildcards such as *
you must use the LIKE operator, e.g.
LIKE "*active*" OR LIKE "*pend*"
And the syntax Date() - [Days Past] Date() appears to be simply
incorrect. Date() is a VBA function which returns today's date; a
human might interpret the phrase [Days Past] Date() as "the number of
days past today's date" but Access certaionly would not! What is the
intention of this expression? Might you instead want
DateDiff("d", [Days Past], Date())
or perhaps a DateAdd function?
John W. Vinson[MVP]