G
Guest
I have created a chart on an Access report which is based on start date and
end date input from a form.
I have nested queries behind the scenes which pull the correct records based
on the dates.
Then I use this output to group the records into quarters. I have used the
following expression to count the number of records in each quarter - Qtr103:
Sum(IIf([DateMatterServed] Between #1/1/2003# And #3/31/2003#,1,Null)).
The report is based on the output of this query.
The user would like to have the capability of looking at two years of
quarters at a time, so all quarters from 2003 - 2004 are set up in the query.
The problem I am having is if the user enters 1/1/04 and 12/31/04 as the
dates, the 2003 quarters still display on the report. Is there a way to
ensure only the quarters in the specified date range display on the report?
I am using Access 2000.
Many thanks for any help you can provide.
end date input from a form.
I have nested queries behind the scenes which pull the correct records based
on the dates.
Then I use this output to group the records into quarters. I have used the
following expression to count the number of records in each quarter - Qtr103:
Sum(IIf([DateMatterServed] Between #1/1/2003# And #3/31/2003#,1,Null)).
The report is based on the output of this query.
The user would like to have the capability of looking at two years of
quarters at a time, so all quarters from 2003 - 2004 are set up in the query.
The problem I am having is if the user enters 1/1/04 and 12/31/04 as the
dates, the 2003 quarters still display on the report. Is there a way to
ensure only the quarters in the specified date range display on the report?
I am using Access 2000.
Many thanks for any help you can provide.