On NoData message
I am using the OnNoData event to show a message like "The report is
empty".
The problem is that the message is showed twice. My parameters at the
Report component, NoData behaviors sections are:
ndMessageDialog := true; ndMessageOnPage := false; ndBlankPage := true;
ndBlankReport := false;
I delete the lines with aShowDialog and aAddDrawCommand
Version : 9.01
Thanks in advance
empty".
The problem is that the message is showed twice. My parameters at the
Report component, NoData behaviors sections are:
ndMessageDialog := true; ndMessageOnPage := false; ndBlankPage := true;
ndBlankReport := false;
I delete the lines with aShowDialog and aAddDrawCommand
Version : 9.01
Thanks in advance
This discussion has been closed.
Comments
This is not a known issue. Is the event perhaps firing for your main report
and a subreport inside the report? Are you able to recreate this issue
outside of RAP in Delphi code? If so, try placing a break point inside the
event and find out where the second call is originating.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com