Multiple Subreports
Hi all,
a very simple (?) problem :
I want to print several subreports (dynamic height) chained together,
without starting a new page.
I tried putting them on different bands (Title/header/summary), as
Child/Region/Fixed, but never get the result I wanted.
Also I tried putting them all in one main-report, and chaining the
subreports in the summary of the previous one (as described in the Help)
any clues ?
kind regards,
Dirk Janssens.
a very simple (?) problem :
I want to print several subreports (dynamic height) chained together,
without starting a new page.
I tried putting them on different bands (Title/header/summary), as
Child/Region/Fixed, but never get the result I wanted.
Also I tried putting them all in one main-report, and chaining the
subreports in the summary of the previous one (as described in the Help)
any clues ?
kind regards,
Dirk Janssens.
This discussion has been closed.
Comments
subreport 2 to ShiftRelativeTo subreport 1. Set subreport 3 to
ShiftRelativeTo subreport 2. ShiftRelativeTo is a property of the child
subreports. Make sure that the Subreport.PrintBehavior property is set to
pbChild.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I tried that one also, but the reports are printed on top of eachother,
Is there some property I am missing ?
btw : The first has a BDE-pipeline, the second a JIT-pipeline. I make them
in the Report-Exporer ("end-user").
regards,
Dirk.
and send us the layout which isn't working to support@digital-metaphors.com
Child type subreports should shift relative to each other.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
support@digital-metaphors.com
Maybe this will help :
I made a very simpel report in *designtime* containig 2 subreports,
Printbehaviour Child, Sub2 Shiftrelative to Sub1. That works fine: the two
subreports are chained together.
I save the report to file.
Then I load the same report from file into the reportsexplorer.
Now, the 2 subreports are printed on top of each other....
kind regards,
Dirk Janssens.
Delphi 5
RB 6.03
Both subreports use JIT-pipelines.
regards,
Dirk.
contrive a few records for us and we should be able to reproduce the error
this way. Send it to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I just have send you a little demo.
I hope you find what's wrong with it,
regards,
Dirk.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
(not with the patch: I had an error message ... compiled with an other
version of...)
Removing the other report from the form solved it for me.
For other user who have the same problem :
The problem/bug only appears if more then 1 report is on the form.
thanks again,
kind regards,
Dirk.
was before we released RB 7 for Delphi 5. Please upgrade to RB 7 for Delphi
5. Order from our website www.digital-metaphors.com or contact
info@digital-metaphors.com with your registration information to upgrade
today.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com