NoData
Hi!
I am using D5 with RB 7.04.
I have a Report and on this Title-Band I load at runtime a Subreport
with the Infos about the selection.
Sof far everything is fine! But when I made selections which results in
a empty report (no Data) I can't only show the Subreport with
selection-info and the message 'No Data Found'. I need this info in the
Report (printed or Pdf or Raf) because this could be made on a server
which is only printing. How can I do this?
Now I add a empty record to the (memory-)table but so I produce 2 pages
(one with the Subreport (newPage=True) and one with the empty record),
that is not looking fine and I am not able to change alle the reports.
Any Ideas? Thank you.
Gruß aus den Bergen
Günter
I am using D5 with RB 7.04.
I have a Report and on this Title-Band I load at runtime a Subreport
with the Infos about the selection.
Sof far everything is fine! But when I made selections which results in
a empty report (no Data) I can't only show the Subreport with
selection-info and the message 'No Data Found'. I need this info in the
Report (printed or Pdf or Raf) because this could be made on a server
which is only printing. How can I do this?
Now I add a empty record to the (memory-)table but so I produce 2 pages
(one with the Subreport (newPage=True) and one with the empty record),
that is not looking fine and I am not able to change alle the reports.
Any Ideas? Thank you.
Gruß aus den Bergen
Günter
This discussion has been closed.
Comments
Have you tried using the NoDataBehaviors property of the subreport. Setting
this to ndMessageOnPage will show a message that no data is available on
your report. You can also use the OnNoData event to define your own
drawcommand that displays your own custom message. See the NoDataBehaviors
and OnNoData topics in the RBuilder help file for more information.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com