Insert page breaks between report groups with two-sided printing

这一生的挚爱 提交于 2019-11-29 01:37:26

You can do this with the onfirstrecord, pagenumber and the onlastrecord keywords.

On the group header section "New page before" formula...

not onfirstrecord //so every group (except the first) starts on a new page

On "New page after" formula...

//to keep the group from starting on even page but make sure the last page is not blank
remainder(pagenumber, 2) = 1 and not onlastrecord 

Open the Section Expert screen. Select Report Header and check "Suppress (No Drill-Down)". Then select in the group header select the group you want to page break and check "New Page Before".

Sak

This Works fine if I need Page Break on one Group. How do I do if Page Break on Multiple Groups?

I found answer.. Using Next(Field) or Previous(Field), I added below condition and worked fine.

In Next Page Before formula:

Not onFirstRecord and ({table.field} <> previous({table.field}))

user2114670

hi IronicMuffin i understand you question. the answer is versy simple but more effetcive.

  • step 1: Include dataset or database expert into your crystal report

  • Step2: In the outside surface of the report area right click and goto report and goto group expert

  • Step3: add the which field you include the group that time the bottom of the window options will appear

  • Step 4: click the option and agian goto 2nd tab of the option.

  • step 5: finally check(check=true) check box of Repeat Group header on each page other check box or put uncheck
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!