I am a CR newbie. I'm trying to create a report that contains many subreports, which link to SQL Server 2000 stored procedures as a datasource. Some of these subreports contain data collected from two tables with a one-to-many relationship (a parent table and a corresponding update table).
To make matters more complicated, the datasource for the parent report is unrelated to that of the subreports in question. This means I need to display data from a row in the parent table in a detail section of my subreport. In the same section, I need to display all the update records for the parent record.
This problem would be easily solved by using nested subreports, but I guess CR doesn't support that. I also tried using XML as a datasource, figuring I can express the hierarchical nature of my data in XML pretty easily, but CR 8.5 really doesn't support complex XML, at least that I can tell. I only seems to support one level of nesting in the XML, using row & column hints. My guess is that CR has to 'flatten' the XML out to use it, which means the data winds up in a table-like format for internal use by CR. I'd love to be wrong about this and get some advice on how to use XML as a datasource, since I can make that my 'standard' for producing reports.
Since I'm using stored procedures, I do not believe I can use data shapes or data cubes. Is there another way I can solve what must be a somewhat common problem?
Any help will be most appreciated!
To make matters more complicated, the datasource for the parent report is unrelated to that of the subreports in question. This means I need to display data from a row in the parent table in a detail section of my subreport. In the same section, I need to display all the update records for the parent record.
This problem would be easily solved by using nested subreports, but I guess CR doesn't support that. I also tried using XML as a datasource, figuring I can express the hierarchical nature of my data in XML pretty easily, but CR 8.5 really doesn't support complex XML, at least that I can tell. I only seems to support one level of nesting in the XML, using row & column hints. My guess is that CR has to 'flatten' the XML out to use it, which means the data winds up in a table-like format for internal use by CR. I'd love to be wrong about this and get some advice on how to use XML as a datasource, since I can make that my 'standard' for producing reports.
Since I'm using stored procedures, I do not believe I can use data shapes or data cubes. Is there another way I can solve what must be a somewhat common problem?
Any help will be most appreciated!