I have a report with a main report and subreport. Both main report and sub-report use the same data table as their primary table. The sub report is linked to the main report via a field in this common table that is also an indexed field. The report prints one page per record from this common primary table. In both the main and subreport this common table is a master table with a detail table's records being printed as detail lines in both the main and subreport
When I run the report, it takes a long time to develop. Once the report appears on screen, each time I scroll to a subsequent page, Crystal displays a message that it is generateing the subreprot and then seems to go through and re-read all the records of the detail table - which is in the tens of thousands, instead of just the detail records that should be linked to the master record for the current page.
1. Why would Crystal seem to read all detail records when generating the subreport instead of just the matching ones?
2. Is there a way to printdetail lines from the same record twice on the same page without using subreports?
3. Is there any other way to speed up such a reprot?
thank you [sig][/sig]
When I run the report, it takes a long time to develop. Once the report appears on screen, each time I scroll to a subsequent page, Crystal displays a message that it is generateing the subreprot and then seems to go through and re-read all the records of the detail table - which is in the tens of thousands, instead of just the detail records that should be linked to the master record for the current page.
1. Why would Crystal seem to read all detail records when generating the subreport instead of just the matching ones?
2. Is there a way to printdetail lines from the same record twice on the same page without using subreports?
3. Is there any other way to speed up such a reprot?
thank you [sig][/sig]