Crystal Report 11 和 C# 2005 导出为 PDF 问题(渲染问题、随机页面)
我正在努力在 .NET 中重写一个 vb6 应用程序,每天将 Crystal Reports 导出到 Pdfs。当我导出为 PDF 时遇到问题,报表在 Crystal Report Viewer 中正确呈现(2 页),但是当我导出它(通过查看器或以编程方式)时,它会变成 11 页文档,当它应为 2 页文档)。我不确定这是否与报告有关,或者是否与 Export() 有关...请帮忙!
I'm working on rewriting a vb6 application in .NET that exports our Crystal Reports to Pdfs on a daily basis. I'm running into an issue when I export to PDF, the report renders properly (2 pages) in a Crystal Report Viewer, but when I export it (either through the viewer or programatically, it turns into a 11 page document, when it should be a 2 page document). I'm not sure if this is something with the report, or if this is something with the Export()... Please help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
[这个答案的文字最初是由Eric编写的]
弄清楚了,我进入了报告资源管理器并注意到详细信息部分中有大量额外字段实际上并未显示在查看器中。我删除了多余的字段,瞧,回到两页
[The text of this answer was originally written by Eric]
Figured it out, I went into the Report Explorer and noticed there were a ton of extra fields in the details section that were not actually showing up in the viewer. I removed the extra fields and voila, back to two pages