ChristianWhite
Programmer
I'm designing a report for a publisher, with a summary of five publisher subreports at the end.
A publisher may have an unspecified number of journals; each journal occupies a detail line comprising 25 journal subreports.
The main report should print a detail for a journal such as Popular Mechanics with its 25 subreports, then Time with its subreports,
then Newsweek with its 25 subreports--then a five-subreport summary for the publisher.
After printing Popular Mechanic's detail line, then, the report should print Time's detail line with the same 25 reports.
I'm wondering, though: Can I reuse subreports in the same main report--changing subreport parameter values each time a subreport is called? "Popular Mechanics" the first time, and "Time" the second--or will Crystal prohibit it?
Here's a graphical presentation of the layout:
PUBLISHER ABC REPORT
(main report uses a stored procedure which returns data like this:
PUBLISHER ABC Popular Mechnanics
PUBLISHER ABC Time
PUBLISHER ABC Newsweek
--etc. This stored procedure should prompt with the correct journal name for creating each detail line,
in which the journal subreports reside)
JOURNAL: Popular Mechanics
--------------------------------------------------------------
Detail:
POPULAR MECHANICS SUBREPORT 1
POPULAR MECHANICS SUBREPORT 2
POPULAR MECHANICS SUBREPORT 3
(etc for POPULAR MECHANICS)
--------------------------------------------------------------
JOURNAL: Time
--------------------------------------------------------------
Detail:
TIME SUBREPORT 1
TIME SUBREPORT 2
TIME SUBREPORT 3
(etc for TIME)
--------------------------------------------------------------
SUMMARY
PUBLISHER ABC
PUBLISHER ABC SUBREPORT SUM1
PUBLISHER ABC SUBREPORT SUM2
(etc for Publisher ABC's summary)
A publisher may have an unspecified number of journals; each journal occupies a detail line comprising 25 journal subreports.
The main report should print a detail for a journal such as Popular Mechanics with its 25 subreports, then Time with its subreports,
then Newsweek with its 25 subreports--then a five-subreport summary for the publisher.
After printing Popular Mechanic's detail line, then, the report should print Time's detail line with the same 25 reports.
I'm wondering, though: Can I reuse subreports in the same main report--changing subreport parameter values each time a subreport is called? "Popular Mechanics" the first time, and "Time" the second--or will Crystal prohibit it?
Here's a graphical presentation of the layout:
PUBLISHER ABC REPORT
(main report uses a stored procedure which returns data like this:
PUBLISHER ABC Popular Mechnanics
PUBLISHER ABC Time
PUBLISHER ABC Newsweek
--etc. This stored procedure should prompt with the correct journal name for creating each detail line,
in which the journal subreports reside)
JOURNAL: Popular Mechanics
--------------------------------------------------------------
Detail:
POPULAR MECHANICS SUBREPORT 1
POPULAR MECHANICS SUBREPORT 2
POPULAR MECHANICS SUBREPORT 3
(etc for POPULAR MECHANICS)
--------------------------------------------------------------
JOURNAL: Time
--------------------------------------------------------------
Detail:
TIME SUBREPORT 1
TIME SUBREPORT 2
TIME SUBREPORT 3
(etc for TIME)
--------------------------------------------------------------
SUMMARY
PUBLISHER ABC
PUBLISHER ABC SUBREPORT SUM1
PUBLISHER ABC SUBREPORT SUM2
(etc for Publisher ABC's summary)