我不太习惯活动报告,我用的是旧软件。该软件提供了某种精简版的Active Reports Designer 7。
我得到了一个PageFooter部分与一些字段,我想删除一个显示它只有当它是最后一页。
基本上,我想在脚本中这样做:if (this.PageNumber == this.PageCount) {
Field.Visible = true;
}
我在这里只找到一个帖子说this.PageNumber
应该工作,但它没有。
所以我试图使用ReportInfo使用FormatString作为{PageNumber},但我似乎无法读取使用this.ReportInfo.Value
或this.ReportInfo.Text
的值
我也尝试做一个文本框,使用SummaryType:PageCount。但我仍然无法读取值。
问题是:我如何知道页码和页码在脚本部分?
或者我如何读取我创建的那些文本框的值?
非常感谢!
我认为这些文档涵盖了你正在寻找的:https://help.grapecity.com/activereports/webhelp/Legacy/AR7Help/OnlineEN/AddPageNumbering.htmlhttps://help.grapecity.com/activereports/webhelp/Legacy/AR7Help/OnlineEN/index.html