I have a report with graphs, and this report retreives data from a table that is specified by a where-string-generating form (Access 2003).
My problem: the graphs are based on the criteria entered into the form including month and year. The graphs currently only represent the month and year of the last record displayed in the report.
For example, if the report includes records that have months of June, July, and August, the graphs only represent the August records.
The Row Source sql for the graph is as follows:
[CODE=sql]SELECT [NAC_exp],Count([NAC_exp]) AS [CountOfNAC_exp] FROM [COMPILE_HIST] WHERE NAC LIKE Reports![Quick Report]!NAC AND Month LIKE Reports![Quick Report]!Month AND Year LIKE Reports![Quick Report]!Year AND MarketID LIKE Reports![Quick Report]!MarketID GROUP BY [NAC_exp];[/CODE]
Thank you for any help!
martin
My problem: the graphs are based on the criteria entered into the form including month and year. The graphs currently only represent the month and year of the last record displayed in the report.
For example, if the report includes records that have months of June, July, and August, the graphs only represent the August records.
The Row Source sql for the graph is as follows:
[CODE=sql]SELECT [NAC_exp],Count([NAC_exp]) AS [CountOfNAC_exp] FROM [COMPILE_HIST] WHERE NAC LIKE Reports![Quick Report]!NAC AND Month LIKE Reports![Quick Report]!Month AND Year LIKE Reports![Quick Report]!Year AND MarketID LIKE Reports![Quick Report]!MarketID GROUP BY [NAC_exp];[/CODE]
Thank you for any help!
martin
Comment