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

Suppress last Group-Footer

edited April 2005 in General
hello.

i have the following report: address list with 2 groups: city and
street. i want to print a line when the city changes (outer group
footer) and a thiner line when the street changes (inner group footer).
the problem is, that when the city changes, i get 2 lines (both footers
are printed). is there an easy way to suppress the last inner group footer?

regards

volkmar

Comments

  • edited April 2005
    Hi Volkmar,

    Try using the BeforeGroupBreak event of the outer group to check to see if
    the inner group already printed its group footer, then toggle the visibility
    of the line in the outer group accordingly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2005
    hi nico.

    that doesn't solve my problem. i have to set the inner group footer to
    invisible. actually the report looks like this:

    new york 1st street
    new york 1st street
    ---------- ( inner footer)
    new york 2st street
    ---------- ( inner footer <- should not be printed)
    -------------------- ( outer footer)
    boston 1st street
    ---------- ( inner footer <- should not be printed)
    -------------------- ( outer footer)


    Nico Cizik (Digital Metaphors) schrieb:
  • edited April 2005
    Hi,

    Unfortunately there is no way to find the last group break in a report. The
    Report engine is designed to keep breaking until the data runs out in your
    dataset. It has no sense of the first or last group. A couple of things
    you might try are creating a two pass report and depending on if the last
    group breaks in the last page or not, toggle the visibility of the line
    there, or somehow calculate where the final group should break in your
    report.

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