Subreport
Hi,
I have a subreport with a data field in the detail band that I am trying to
generate but this data field does not always contain data. When there is
data, the subreport is generated without any problems, but if the data field
returns no value, the detail band is not generated, even though the
subreport itself is generated with my report.
I was wondering how to print the detail band of a subreport even though the
data field contains no data.
Thank in advance,
BMAC
I have a subreport with a data field in the detail band that I am trying to
generate but this data field does not always contain data. When there is
data, the subreport is generated without any problems, but if the data field
returns no value, the detail band is not generated, even though the
subreport itself is generated with my report.
I was wondering how to print the detail band of a subreport even though the
data field contains no data.
Thank in advance,
BMAC
This discussion has been closed.
Comments
Try changing the TppSubreport.Report.NoDataBehaviors to have ndBlankReport
:= True. This is a published property and is accessable from the Delphi
Object Inspector while designing your subreport.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
only one data field which is a DBMemo and for some reason, these do not work
the same way ... don't know why though!!!
If you have other ideas, feel free to let me know!
Thanks again,
BMAC
In my testing (with DBMemos and DBTexts) everything seemed to work as
expected. When I linked a DBMemo to a field in a datapipeline that
contained no data, the memo field was empty but the rest of the detail band
was printed. Which version of ReportBuilder are you using? If you are
using the latest version, please send a small example in .zip format to
support@digital-metaphors.com and I'll take a look at it for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I'm not sure I understand, you want me to send the *.pas file???
caught me out.
Dave
An example created in ReportBuilder 7.04 that I could easily run on my
machine would be ideal.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
TitleBand. I would want it to display an empty box when there is no data so
that when I print the report, I can write in the missing info and return in
my data-entry application and enter it in the DB.
I'll keep on trying ...
BMAC