创建 2 页水晶报表 [英] Creating a 2-page Crystal Report

查看:19
本文介绍了创建 2 页水晶报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

顶部的那些大盒子只是用来掩盖客户信息

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.

我对 Crystal Reports 还很陌生,但我确信您不能只是……这样做.我想哦,我只需将其填充到页脚部分并选择之前的新页面",它就会打印在下一页上!"... 不.不,显然不是这样的.

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?

推荐答案

好吧,我想通了.只需要对报告进行一些创造性的重新设计.

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.

然后我将所有详细标题从页眉"移动到组页眉 #1",并完全抑制了页眉部分.

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".

瞧,它完全按照我想要的方式出现.只需要一点点学习和理解这些报告是如何组合在一起的,这些部分是做什么的以及它们是如何工作的.我可能没有提到这一点,但在这个项目放在我的办公桌上之前我从未接触过 CR.

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.

感谢您的评论.

这篇关于创建 2 页水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆