I've created a bar chart report that shows the total number of customer calls per month. The record source for the bar chart report is a query that prompts the user for a begin and end date, so the chart plots monthly totals for everything within that range.
For example, if Begin Date=1/1/01 and End Date=3/31/01, and there are 10 calls in each of those months, the report will show 3 bars (of ten units), one for each month in the date range.
The bar chart report works just fine, with one exception. It creates a separate page for each of the records found by the query, and each page contains the same exact bar chart. For the example above, which contains 10 calls in each of the three months, the report contains 30 pages of the same bar chart. (One page for each of the 30 records.)
I've tried all sorts of things and double-checked all of the report properties, but I haven't figured out how to avoid this problem. How can I get the report to print a single bar chart and not automatically create a page for each record found by the query criteria?
Must I hard code some printing properties into the code so that only the "first page" of the report is printed, regardless of the number of records/pages?
Any help will be greatly appreciated; this has been stumping and frustrating me for a couple days now.
Thank you,
Kerry
For example, if Begin Date=1/1/01 and End Date=3/31/01, and there are 10 calls in each of those months, the report will show 3 bars (of ten units), one for each month in the date range.
The bar chart report works just fine, with one exception. It creates a separate page for each of the records found by the query, and each page contains the same exact bar chart. For the example above, which contains 10 calls in each of the three months, the report contains 30 pages of the same bar chart. (One page for each of the 30 records.)
I've tried all sorts of things and double-checked all of the report properties, but I haven't figured out how to avoid this problem. How can I get the report to print a single bar chart and not automatically create a page for each record found by the query criteria?
Must I hard code some printing properties into the code so that only the "first page" of the report is printed, regardless of the number of records/pages?
Any help will be greatly appreciated; this has been stumping and frustrating me for a couple days now.
Thank you,
Kerry