I have only used Crystal Reports for very basic reporting, and so I am not familiar with a lot of the more advanced techniques. My experience is more with writing SQL scripts, but this report has to be done in Crystal (8.5).
I have a series of tables where all the records have CreatedDate and EndDate fields, thus keeping an audit history. I have already created a report that would allow the user to enter a date parameter and then grab the record info for that point in time. Basically, the date parameter has to fall between the CreatedDate and EndDate to be selected.
I have now been asked to create a similar report, except to show 12 points in time instead of just one point in time. For example, if the user selects May 1, then I need to show summaries (counting the number of records) for May 1, Apr 1, Mar 1, Feb 1, etc.
Here is a partial example of how it is supposed to look. The numbers represent a count of the returned records.
Dept Jan 1 Feb 1 Mar 1 Apr 1 May 1
A 50 55 52 53 60
B 27 43 22 45 67
C 144 130 123 111 114
I'm a bit baffled now because this is really 12 different result-sets--one set for each month. Either that or else I have to return a full result-set and then somehow divide those up using Crystal. Is this a case for a Cross-Tab, or will that not work?
I would greatly appreciate any constructive advice on which direction to go with this problem. Thank-you.
I have a series of tables where all the records have CreatedDate and EndDate fields, thus keeping an audit history. I have already created a report that would allow the user to enter a date parameter and then grab the record info for that point in time. Basically, the date parameter has to fall between the CreatedDate and EndDate to be selected.
I have now been asked to create a similar report, except to show 12 points in time instead of just one point in time. For example, if the user selects May 1, then I need to show summaries (counting the number of records) for May 1, Apr 1, Mar 1, Feb 1, etc.
Here is a partial example of how it is supposed to look. The numbers represent a count of the returned records.
Dept Jan 1 Feb 1 Mar 1 Apr 1 May 1
A 50 55 52 53 60
B 27 43 22 45 67
C 144 130 123 111 114
I'm a bit baffled now because this is really 12 different result-sets--one set for each month. Either that or else I have to return a full result-set and then somehow divide those up using Crystal. Is this a case for a Cross-Tab, or will that not work?
I would greatly appreciate any constructive advice on which direction to go with this problem. Thank-you.