Multiple Subreports Problem
I have a report that is set up as a Master-Detail-Detail. I hope that makes
sense. There is the main report driven from the master record (Main). Then
there is a subreport driven by a detail record of the master (Detail 1).
Then there is a 2nd subreport driven by a detail record (Detail 2) from
Detail 1.
The report runs perfectly unless there is a situation when there are a
larger quantity of records (~250) in the 2nd subreport for Detail 2. If
that happens the report just continues to run with no end.
I have tried locating the subreports in the summary band of the prior
report. I have also tried locating the subreports in the detail area of the
prior report. Neither way makes any difference.
I am using version 11.07 and Delphi 2009.
What can I do to fix this?
Thanks,
Al
sense. There is the main report driven from the master record (Main). Then
there is a subreport driven by a detail record of the master (Detail 1).
Then there is a 2nd subreport driven by a detail record (Detail 2) from
Detail 1.
The report runs perfectly unless there is a situation when there are a
larger quantity of records (~250) in the 2nd subreport for Detail 2. If
that happens the report just continues to run with no end.
I have tried locating the subreports in the summary band of the prior
report. I have also tried locating the subreports in the detail area of the
prior report. Neither way makes any difference.
I am using version 11.07 and Delphi 2009.
What can I do to fix this?
Thanks,
Al
This discussion has been closed.
Comments
My first suggestion would be to upgrade to RB 11.08. Contact
info@digital-metaphors.com for upgrade instructions.
Is there any event code associated with these subreports? If so, try
commenting out the code and see if that helps the issue.
Also, are the subreports set to KeepTogether? Try setting this property
to False and see if you get a different result.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com