找回密码
 立即注册

QQ登录

只需一步,快速开始

fangxt12

注册会员

6

主题

28

帖子

88

积分

注册会员

积分
88
fangxt12
注册会员   /  发表于:2020-6-2 16:04  /   查看:2584  /  回复:6
例外の詳細:
GrapeCity.ActiveReports.ReportException: ページヘッダ/ページフッタが大きすぎます。用紙サイズを大きくするか、ページヘッダ/ページフッタの高さを小さくしてください。
   場所 GrapeCity.ActiveReports.Layout.ProcessReport.ProcessPageHeaderFooter(Boolean bAllowGrowth)
   場所 GrapeCity.ActiveReports.Layout.ProcessReport.ProcessPageTillFull()
   場所 GrapeCity.ActiveReports.Layout.ProcessReport.GrapeCity.ActiveReports.Layout.IExecReport.RenderPage(Page newPage, Single left, Single top, Single right, Single bottom, UInt32 flags, UInt32& status)
   場所 GrapeCity.ActiveReports.SectionReport.ProcessPage()
   場所 GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)
   場所 GrapeCity.ActiveReports.SectionReport.Run()
   場所 GrapeCity.ActiveReports.Viewer.Win.Rpx.RpxReport.LoadDocument(SectionDocument document)
   場所 GrapeCity.ActiveReports.Viewer.Win.Rdf.RdfDocumentReportBase.<>c__DisplayClass13.#bzz()
   場所 GrapeCity.ActiveReports.Viewer.Win.AsyncLoader.<>c__DisplayClass7.#cAz(Object param0, DoWorkEventArgs param1)
   場所 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   場所 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

这个问题如何解决

6 个回复

倒序浏览
fangxt12
注册会员   /  发表于:2020-6-2 16:20:10
沙发
是因为PageHeader里面放了很多内容的原因吗?
回复 使用道具 举报
fangxt12
注册会员   /  发表于:2020-6-2 16:30:31
板凳
fangxt12 发表于 2020-6-2 16:20
是因为PageHeader里面放了很多内容的原因吗?

我把PageHeader调小就不再报错,但是会遮挡住内容,那怎么增加纸张尺寸呢?
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2020-6-2 18:34:11
地板
这个是报表设计的问题,增加纸张尺寸,你使用的是什么报表。如果是RDL报表:


页面报表:




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
fangxt12
注册会员   /  发表于:2020-6-3 09:43:25
5#
在Visual Studio里创建的SectionReport.vb,这个里面没找到设置纸张大小的属性,在Designer文件里能找到Me.PageSettings.PaperHeight和Me.PageSettings.PaperWidth,不过设置了没作用
回复 使用道具 举报
fangxt12
注册会员   /  发表于:2020-6-3 09:45:02
6#
不过我把PageHeader里面的内容缩小了可以运行了。。
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2020-6-3 14:10:29
7#
好的,问题解决了就好
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部