水晶报表布局问题(动态) [英] Problem with crystal report layout (dynamic)

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

问题描述

大家好,

当我使用数据集创建报告时,我的报告是动态报告,当预览报告时,如果所有记录都写在一页上,并且报告中的下一页表仍会打印到第二页末尾

第1页:
第1页

第2页:
第2页

如果第2页有记录,那就没问题:
第2页:
第2页没有错误

我的报告设计在这里:
报告设计

我想如果第2页没有记录,它仅打印报表页脚,不打印表格布局?每个人都可以帮助我

致谢,最好的问候,

Hello everyone,

When i create report using dataset,my report is dyanamic report, when preview report, if all record enough on 1 page,and next page table in report still print until the end of page 2

Page 1:
Page 1

Page 2:
Page 2

If Page 2 has record, it is no problem:
Page 2:
Page 2 no error

My report design here:
Report design

I want if Page 2 have no record, it only print report footer, don''t print table layout ? everyone can help me

Thanks and Best Regards,

推荐答案

只有在设计器中定义了表的长度时,才会发生这种情况.如果是这样,您将无法避免.确保您没有固定表的长度,或者默认情况下不将表的高度设置为两页.让数据和查看器自己驱动长度,而不是由设计器驱动.
This would only happen if you have defined the length of table in your designer. If so, you cannot avoid it. Make sure you are not fixing the length of table or giving table heights to two page by default. Let the data and viewer drive the length by themselves instead of you driving it via designer.


如何在Designer中定义表的长度?您能详细解释一下吗?
How can defined the length of table in designer? can you explaint it detail


该报告没有表格."我在"objRpt.SetDataSource(ds)"语句中遇到此错误.
"The report has no tables." I has this error in "objRpt.SetDataSource(ds)" statement.


这篇关于水晶报表布局问题(动态)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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