使用多个报告的报告查看器
在 vb.net 中,我们有一个工作得很好的报告,它有页眉/页脚详细信息,然后中间有一个重复数据的表格,所有这些都很好。
但是客户现在想要的是另一个名为“打印个人”的按钮,这将打印相同的报告,但不是表中每一行的重复数据成为具有相同页眉/页脚的页面上的单行。
例如,在第一个报告中,如果一页有 5 行详细信息,“打印单个”报告将打印相同的内容,但每个报告有 5 页和 1 行。如果这是有道理的:-)
显然,如果我可以使用相同的报告而不是维护两个报告,那就太好了,因为报告有很多信息。有什么想法吗?
Within vb.net we've got a report that works great it has it's header/footer details then then a table in the middle which repeats data and all of that is fine.
But what the client wants now is for another button named 'Print Individual' and this will print the same report but instead of the repeated data within the table for each of those rows to be a single row on a page with the same header/footer.
So for example on the first report if there is one page with 5 rows of details the 'Print Individual' report will print the same but have 5 pages and 1 row per report. If that makes sense :-)
Obviously if I can do it where we use the same report instead of maintaing two reports would be good, as the report has a lot of information on it. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终创建了一个新报告并使用列表框工具。
I ended up creating a new report and using the list box tool.