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

how to know if report preview is blank

edited May 2007 in General
Hi!

Is it possible to know if the ppViewer is blank?
I preview some rtm files in a ppViewer and I want to show a custom dialog
with some links, info, etc... when the loaded report is blank or empty.

RBuilder Pro 10 + Delphi 7

Thanks!

Comments

  • edited May 2007
    Hi Santy,

    There is no built in way to tell if a report is completely blank. You can
    use the OnNoData event to find if there is any data present inside the
    report or you could possibly try to loop through all the drawcommands in the
    page object to find out if any are present.

    --
    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.