Insert a blank page after each entry in Crystal Report

I have a Crystal report that can display one or more records (depending on the input). Each entry may contain one or more pages. I need to insert a blank page after each record (and not just every record on the page, but also a blank page after each record).

I tried checking New Page Before / New Page After , but all I could get was duplicate records or a blank page at the end of the report (I need one after each record)

+5
source share
1 answer

You can achieve this as:

  • Divide the "Details" or "Group footer" section, after which you want to create a blank page into two sections, for example. Details a , Details b or Group Footer a , Group Footer b .
  • To insert a subsection: Open Section Expert, select Details or Group Footer, and then click the Insert button.
  • Include / check New Page After version of both abstract sections in Expert section
  • Make sure Suppress Blank Section not checked.
  • Optionally, disable blank page insertion at the end of the report suppression formula in New Page After as Not OnLastRecord

Update: To exclude header and footer information on a blank page

  • Create two formula fields, ShowHF and HideHF
  • Set the ShowHF value as:

     WhilePrintingRecords; numberVar ShowInfo := 1; 
  • Set the value of HideHF as:

     WhilePrintingRecords; numberVar ShowInfo := 0; 
  • Put ShowHF in the subtext of Details a and HideHF in the subcategory of Details b and suppress both ShowHF and HideHF
  • Set the suppression formula for the page footer and page as:

     numberVar ShowInfo = 0; 
+1
source

Source: https://habr.com/ru/post/1237652/


All Articles