Applies to: posted in the c55ee group (2001); the thread names no further version. The RPM report template is mentioned.
Problem
A two-page report needs a scanned image of each page on the Form band. The poster asked how to force two pages from two different Form bands in one report.
Solution
- One report has one Form band. It is created once, before the first PRINT(), so two different Form bands cannot be swapped page by page.
- Chain two reports together with the RPM chaining feature, one report per page image. The same reply names the insert report code template as another route. A later RPM release was announced with different underlay and overlay options per page, with no release date given.
- Without RPM, make a Detail 1 and a Detail 2 band. Give each the page-before property, or issue ENDPAGE() between them, to force the page break, then print them in order:
PRINT(rpt:detail1)
PRINT(rpt:detail2)
- Headers and footers can be handled the same way. With ABC, one poster wraps the default print in an
if 1=0...endpair and puts his own code in it, to decide between the first pages and a totals page.
Caveats
- Option 3 puts the page images in the details, not the Form band, so the layout work moves into the detail bands.
- The poster reported back only that he would re-check RPM; no outcome was posted.
- The RPM release mentioned in 2001 is not described beyond that post.
Today (2026)
The one-Form-band-per-report rule is likely unchanged, as is the PRINT() and ENDPAGE() approach. Not re-tested.
Sources: Chris M. (Mar 2001, the question), Lee W., John H. (Mar 2001) in softvelocity.products.c55ee.