Hi everybody,
I'm using Crystal Reports 8.5 against an Access database.
My issue is that I'm trying to find a summary for all records in a date range and then compare that number with a second (group) parameter. The summary is the only part that I'm having trouble with.
My report has a {?DateRange} parameter and a {?Specialist} parameter. When the user enters the date range, I want to capture all the number of records that occurred during the range and store it. Then, I want the report select only those records in the date range for the specialist chosen.
Here's an example:
Date Range - 05/01/09 to 05/25/09
Specialist - Joe Smith and Mary Moore
Total records for date range - 300
Total records for Joe Smith for date range - 25
Total records for Mary Moore for date range - 50
In the report footer, I have a few summary fields setup, but once I added the Specialist parameter, the number of records logically were reduced to just the Specialist so that it looks like this instead:
Date Range - 05/01/09 to 05/22/09
Specialist - Joe Smith and Mary Moore
Total records for date range - 75
Total records for Joe Smith for date range - 25
Total records for Mary Moore for date range - 50
As you can see, if I'm trying to compare the specialists to all the other specialists, my totals will be wrong. Is there any way, without having to suppress records, that I can loop through the records for the date range, store the total, then pass through according to the group parameter?
Thanks,
beacon
I'm using Crystal Reports 8.5 against an Access database.
My issue is that I'm trying to find a summary for all records in a date range and then compare that number with a second (group) parameter. The summary is the only part that I'm having trouble with.
My report has a {?DateRange} parameter and a {?Specialist} parameter. When the user enters the date range, I want to capture all the number of records that occurred during the range and store it. Then, I want the report select only those records in the date range for the specialist chosen.
Here's an example:
Date Range - 05/01/09 to 05/25/09
Specialist - Joe Smith and Mary Moore
Total records for date range - 300
Total records for Joe Smith for date range - 25
Total records for Mary Moore for date range - 50
In the report footer, I have a few summary fields setup, but once I added the Specialist parameter, the number of records logically were reduced to just the Specialist so that it looks like this instead:
Date Range - 05/01/09 to 05/22/09
Specialist - Joe Smith and Mary Moore
Total records for date range - 75
Total records for Joe Smith for date range - 25
Total records for Mary Moore for date range - 50
As you can see, if I'm trying to compare the specialists to all the other specialists, my totals will be wrong. Is there any way, without having to suppress records, that I can loop through the records for the date range, store the total, then pass through according to the group parameter?
Thanks,
beacon