G
Guest
I have a report that I generate each month and there are certain fields that
return a value based on start and end dates.
What I would like to do is set the date values, in a table for example and
then in the query look to that table for the criteria.
I have a couple of queries that call the same information (i.e. the start
and end dates) and rather than having to change the criteria in each query I
would like to set the dates and have the queries look for the values each
time the report is run.
See below an example of on of the query columns that returns a value based
on the date criteria.
Open/Closed Status: IIf([DateClosed] Is Null Or [DateClosed] Between
#03/03/2006# And #03/31/2006,"OPEN","CLOSED")
Please help
return a value based on start and end dates.
What I would like to do is set the date values, in a table for example and
then in the query look to that table for the criteria.
I have a couple of queries that call the same information (i.e. the start
and end dates) and rather than having to change the criteria in each query I
would like to set the dates and have the queries look for the values each
time the report is run.
See below an example of on of the query columns that returns a value based
on the date criteria.
Open/Closed Status: IIf([DateClosed] Is Null Or [DateClosed] Between
#03/03/2006# And #03/31/2006,"OPEN","CLOSED")
Please help