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

stop print a group with subreport has no record to print

edited August 2003 in General
the main report is connected to dataset a, the subreport is connected to
dataset b, main report is group by field 'x' in dataset a, if subreport
related to field 'x' has no record to print, then I want to stop print that
group, how to do this?

Comments

  • edited August 2003
    Hi,

    You will need to use the OnNoData event to stop the report traversal when
    there is no data. Also check out the DataPipeline.SkipWhenNoRecords
    property to skip the printing of records when there is no data present.

    --
    Best Regards,

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