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

No Data Report Output Question

edited July 2002 in General
Hello,

I am generating a report at runtime, and immediately outputting it to a PDF
file. The problem I have is when my dataset contains no data. I end up
creating a PDF file containing no pages. When I set the report to
ndBlankReport the same thing happens. Any suggestions.

Another question, if the report is set to a no data behavior of
ndBlankReport, do any calculations based on dataset fields attempt to
execute?

Thank you,
Michael Malinowski

Comments

  • edited July 2002
    By no pages I am thinking you means a single blank page? If so then this is
    the correct behavior. What behavior wouild out like to see. You could enable
    ndMessageOnPage to display a no data found message. If you do not want to
    generate a PDF at all then you could first query the data yourself to verify
    that the pipeline isn't empty.

    Yes, most will. The report will activate the data pipeline(s) which will
    cause the data sets to be opened and and related event to fire at that
    point.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.