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

Conditional Pagebreak

edited February 2006 in General
Hi,

I need a pagebreak when a specific field in the currently printed record has
a specific value. Is this possible ? I'm using RB9 Ent.

Cheers,

Heiko Kn?ttel

Comments

  • edited February 2006

    Try using the PageBreak component introduced in RB 9. In the
    DetailBand.BeforePrint event toggle the visibility of the PageBreak control.

    myPageBreak.Visible := (plCustomer['Company'] = 'Digital Metaphors');




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2006
    Thank you very much !!

    Heiko Kn?ttel
This discussion has been closed.