Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crystal Reports 11 - How to print different data on multiple pages

I have a shipping label that needs to print on a Dymo Label printer with slightly different data on each of 3 pages. Can this be done with just one .rpt so the users only need to print one report, rather than three?

http://imgur.com/5UUl4

like image 811
tlascek Avatar asked Dec 02 '10 15:12

tlascek


1 Answers

It's been a while since I've used Crystal Reports, but you can setup your .RPT to have three detail sections (A/B/C) and have B and C "print new page before". That way each detail will be on three separate sections.

You shouldn't need to do anything crazy with custom formulas. All you need to do is display each piece of data three times, one on each page, with each page being slightly different.

(Of course you could use a header and just put the changing data in the details section... but that will take more time to get right then just repeating the required data in each data section.)

Confirmed

  1. Open your report
  2. Right-Click on the Details secton
  3. Select "Insert Section Below"
  4. Repeat steps 2 & 3 twice
  5. Confirm that you see three Detail Sections
  6. Use "Section Expert" (or Visual Studio Properties) for sections A & B and select "New Page After". (If using Section Expert, be sure you are on the Paging tab.)
  7. Create the desired content in each Detail Section.
  8. You probably want to Suppress all other sections, including Report/Page Headers & Footers.

.RPT Detail Section Setup

Report Setup

Section Expert

Section Expert

like image 86
beach Avatar answered Sep 28 '22 03:09

beach