Creating a 2-page Crystal Report

落花浮王杯 提交于 2021-02-20 02:55:28

问题


enter image description here

Those big boxes at the top are just there to cover up customer info

I have to design reports for custom pack slips for a couple of customers. Putting their logo on the report and their special footer is no problem.

Where things get hairy is that they both have a whole other page worth of stuff like policy information, return info, this and that, that they want printed as part of their pack slip.

I'm pretty new to Crystal Reports, but I'm kind of sure you can't just... do that. I thought "oh I'll just stuff this in the Page Footer section and select "New Page Before" and it'll just print on the next page!" ... no. No, that is not how that works, apparently.

So, is it even possible to create a report that has two pages or am I going to just have to set up the script to print two different documents for them?


回答1:


Alright, I figured it out. It just took a little creative re-design of the report.

I moved all of the stuff in "Page Header" to "Report Header". That way I wouldn't get all of the shipping information and what not printed on every page.

then I moved all of the detail headers from "Page Header" to "Group Header #1" and completely suppressed the Page Header section.

Then I moved all that huge mess to the Report Footer section, right-clicked on "Report Footer" and went in to the Section Expert and checked "New Page Before".

Voila, it comes out exactly the way I want it to. It just took a little bit of learning and understanding exactly how these reports go together and what the sections do and how they work. I might not have mentioned this, but I have NEVER touched CR before this project was put on my desk.

Thank you for your comments.




回答2:


To print the group header on each page: - choose Group expert from report menu - Select the group then click on "Options..." - select Options tab - check "Repeat group header on each page" box



来源:https://stackoverflow.com/questions/25670065/creating-a-2-page-crystal-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!