CR10, Adaptive Server Anywhere
Sample Data:
Date/Time Location
01/01/2004 08:50:54 M1
02/01/2004 09:54:15 A1
03/01/2004 12:30:54 M11
03/01/2004 07:58:25 A14
02/01/2004 12:50:54 M1
02/01/2004 09:24:45 A14
I need to display a rolling 6 month total per month, i.e Jan 2004 will show a count of all records between 01 Aug 2003 and 31 Jan 2004, Feb 2004 will show a count of all records 01 Sep 2003 and 29 Feb 2004, etc. etc. This then has to seperated by location.
The best way to do this would be via a CrossTab (and that's what the user wants). I've done the hard work, i.e. come up with the solution. The main report will be grouped by Date/time per month, then a subreport is placed in the group footer which will have a crosstab in it, with a link to 2 formulas which give the start and end dates foir the 6 month period based on the group month.
Easy I hear you cry... Except, I've finished the report, but the crosstabs don't seem to update from month to month, i.e. Jan 2004 crosstab is exactly the same as Feb 2004 and Mar 2004 and Apr 2004 etc. etc.
As a check, I've also added a simple count of records to the subreport to see if the figures were the same, they are not.
So, it seems that crosstabs within subreports, when the subreport is run more that once, do not refresh the display.
Now to the question...Anybody else seen this before? Do you reckon this is a CR10 problem or am I doing something blindingly obviously stupid?
Any help/comments greatly appreciated.
Reebo
UK
Please Note - Due to current economic forcast and budget constraints, the light at the end of the tunnel has been switched off. Thank you for your cooperation.
Sample Data:
Date/Time Location
01/01/2004 08:50:54 M1
02/01/2004 09:54:15 A1
03/01/2004 12:30:54 M11
03/01/2004 07:58:25 A14
02/01/2004 12:50:54 M1
02/01/2004 09:24:45 A14
I need to display a rolling 6 month total per month, i.e Jan 2004 will show a count of all records between 01 Aug 2003 and 31 Jan 2004, Feb 2004 will show a count of all records 01 Sep 2003 and 29 Feb 2004, etc. etc. This then has to seperated by location.
The best way to do this would be via a CrossTab (and that's what the user wants). I've done the hard work, i.e. come up with the solution. The main report will be grouped by Date/time per month, then a subreport is placed in the group footer which will have a crosstab in it, with a link to 2 formulas which give the start and end dates foir the 6 month period based on the group month.
Easy I hear you cry... Except, I've finished the report, but the crosstabs don't seem to update from month to month, i.e. Jan 2004 crosstab is exactly the same as Feb 2004 and Mar 2004 and Apr 2004 etc. etc.
As a check, I've also added a simple count of records to the subreport to see if the figures were the same, they are not.
So, it seems that crosstabs within subreports, when the subreport is run more that once, do not refresh the display.
Now to the question...Anybody else seen this before? Do you reckon this is a CR10 problem or am I doing something blindingly obviously stupid?
Any help/comments greatly appreciated.
Reebo
UK
Please Note - Due to current economic forcast and budget constraints, the light at the end of the tunnel has been switched off. Thank you for your cooperation.