Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

On NoData message

edited February 2006 in RAP
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

Comments

  • edited February 2006
    Hi Marcelo,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.