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

Overflow in Master-Detail-Report

edited July 2002 in General
Hi there,

we have a strange and heavy problem. In a master-detail
report (an invoice: master = the invoice, details = position)
the last or the last two positions are reprinted on the next
page and there are summed up TWICE in the total.

This is strange, because every ReprintOnOverflow is set
to FALSE. It is also strange, because this happens with
positions which fit on the page, so that there is no need
for a reprint even if the switch would be set to TRUE.

Any suggestions?

Thanks and Bye
Axel

BTW: we use Professional 6.03 with Delphi 6 SP2

Comments

  • edited July 2002
    Are these components in a region? Is anything set to KeepTogether? There is
    a known issue where this can happen with a single component that thinks it
    can print on a page but ends up having to print because it barely does not
    fit. Though two details seems to be a different issue. Are there any event
    handlers associated with the report and if so what do they do?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited July 2002
    Hi Alexander,

    yes there are in a region and we have told the region to keep together.
    The event-handlers are used to do some formatting-stuff in the before-print
    event.
    No navigation or things like that. We also had the case, that some times two
    detail datasets were duplicated. This happens when they are small in height
    (hope i make myself clear). The height of the details is different, because
    there
    is a stretching memo part of the region.

    I think these things are not very special. The alarming thing is, that they
    are
    not only printed twice - They "appear" twice in the total amount in the
    footer.
    The document is an invoice, so we are in some sort of trouble.

    Hope there is any clue.

    Regards,
    Axel


    "Alexander Kramnik (Digital Metaphors)" schrieb
  • edited July 2002
    Can you send an example to support@digital-metaphors.com?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited July 2002
    Hi Alexander,

    it is quite difficult to isolate this part, because it belongs to
    a really big project. But we figured out, that by playing around
    with the dimensions of the detail-band the problem occurs
    very rarely. So the situation is now, that the whole day with
    intesive testing brought up no problem (changed nothing except
    the dimension). So there is only a strange feeling left right now.
    We keep you in touch.

    Regards
    Axel

    P.S.: BTW, you get (naturally) in touch with a lot of trouble
    in newsgroups like this, so its time to point out that you
    have a really great product and do a really goog job!

    "Alexander Kramnik (Digital Metaphors)" schrieb
This discussion has been closed.