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

Summary Section Only

edited September 2003 in General
Hello,

The question is how to make a summary section appear when no detail records
are displayed.

Conditions:

The recordset which is passed to the report, contains data which is grouped,
with a new page for each group. In cases where there is no data for a
group, a single record is included with a "no data for this group" field.
When a "no data for this group" record is encountered, a line is added to a
memo which is situated in the report summary. This is done instead of
generating a "no data for this group" page. The problem arises when all
groups have a "no data" record. How can I get the summary containing the
memo to appear, when there are in effect, no detail records to report.

Thank you,
--
Michael Malinowski
GIS Ltd.

Comments

  • edited September 2003
    Hi Michael,

    You should be able to use the Report.OnNoData event to check if the report
    has no detail records. You could set a flag inside this event and if the
    entire report generates without any data, you could display your summary.

    --
    Best Regards,

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