Subreport Detail Suppress
I'm able to suppress a subreport entirely from the OnPrint in the main
report via "subreportname.visible := false"
Is there a way to supress just the DETAIL band of the subreport from the
OnPrint of the Main report? Something like this but it doesn't work...
subreportname.detail.visible := false;
Thanks!
report via "subreportname.visible := false"
Is there a way to supress just the DETAIL band of the subreport from the
OnPrint of the Main report? Something like this but it doesn't work...
subreportname.detail.visible := false;
Thanks!
This discussion has been closed.
Comments
Are you using RAP? If so you will need to use one of the subreport events
to access the detail band of that subreport. Try the OnPrint event. If you
are coding in Delphi, you can use the TppChildReport.DetailBand property or
typecast the Subreport.Report property as a TppChildReport to access the
DetailBand.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com