How can I find out the DetailBand of my SubReport?
Hi!
For to set my SubReport dynamicly on other SubReports.Detailband I need
to know how I can get the DetailBand of a SubReport.
For the Main Report it's easy: Report1.DetailBand
But theres now DetailBand-property for SubReports ...Can you help me?
Thank you!
For to set my SubReport dynamicly on other SubReports.Detailband I need
to know how I can get the DetailBand of a SubReport.
For the Main Report it's easy: Report1.DetailBand
But theres now DetailBand-property for SubReports ...Can you help me?
Thank you!
This discussion has been closed.
Comments
Subreports consist of two objects, TppSubreport (the component you see on
the main report) and TppChildReport (the actual subreport design).
If you know the name of the TppChildReport the subreport is using, you can
access the detail band of that subreport directly, like so...
ppChildReport1.DetailBand
You can also access the child report from the TppSubreport object like so...
TppChildReport(TppSubreport.Report).DetailBand
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com