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

Print?

edited March 2003 in General
As I do to print the same content twice in two columns, like this:

Page 1. Page 2.
NAME: IVAN NAME: IVAN
LAST NAME: BATISTA LAST NAME: BATISTA

I am not using the ppDBPipeline I am passing the data directly for a
ppLabel1, and it is just a registration per time.


Ivan

Comments

  • edited March 2003
    First option: Create two sets of labels. Create a dummy group on a custom
    field such as a TppLabel. Resize the group header to be the height of the
    page minus the page header and page footer heights. Use the group header to
    print the page 1 and the detail band will be the page two. Then in the
    OnGetText events of the labels, you can assign the data to the text
    directly.

    Second option: Create two section subreports in the main report. In each
    subreport, duplicate the label controls and hook them up to the same event
    handler, just as you would for the first option.

    Third option: Create a JITPipeline with 2 records for the record count
    property. Then create a new page group as you did in the first option and
    force a page break of hte group after the first record by assigning a
    different break value in the TppGroup.OnGetBreakValue event handler. This
    approach means that you force a group break to get the second page. Feed the
    data through the JITPipeline and use TppDBTexts. See the main reports demo
    project in the NoDatabase Reports section for exampels of printing reports
    using JITPipelines. There is an article on controlling a page break using
    groups in the tech-tips newsgroup and there should also be a help topic on
    the group event as well in the RBuilder.hlp file.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.