主要详细报告 [英] Master Details Report

查看:79
本文介绍了主要详细报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何制作报告以显示主要详细信息数据?


例如:


发票表有:customerID,InvoiceID,InvoiceDate。


InvoiceDetails表包含:InvoiceID,ItemID,ItemQuantity,ItemPrice



目的:打印200张发票



我知道如何为单个发票报告生成报告。


制作循环以使用新发票填充数据集并打印此发票的报告并继续进行是否正常?


这里,但在这种情况下,我会送200个打印命令到打印机,而不是一个commad打印有200多页的报告?


这里


我需要的是创建一个显示一组发票的报告,每个发票都在页面中。




是可能的??


注意:我有Visual Studio 2005 Pro 。

解决方案

获取数据集中的所有数据。在此处打印发票时,请在"发票ID"上添加一个组你的报告。


现在打开SectionExpert>选择细节或页脚>


之后检查新页面还写入"新页面之后"的公式



NotOnLastPage //它只是这样的。



现在每个ID都会打印出来在一个页面上,只要单个Invoicd ID的数据适合一个页面。


要获得性能,请使用Group on Server并尝试o避免PageFooter上的页码事项


 

How can I make a report to show Master Details Data?

for example:

Invoice table having: customerID, InvoiceID, InvoiceDate.

InvoiceDetails table having: InvoiceID, ItemID, ItemQuantity, ItemPrice

 

purpose: print 200 invoices

 

I know how to make report for a single Invoice report.

Is it normal to make a loop to fill dataset with new invoice and print a report for this invoice and go on?

but in this case I will send 200 print commands to the printer and not one commad to print a report having 200 pages?

 

 What I need is to create report showing a group of invoice, each one in a page.

 

 

is that Possible??

Note: I have Visual Studio 2005 Pro.

解决方案

Fetch all data in your dataset.As you are printing Invoices here , so add a group on Invoice ID to your report.

Now open SectionExpert > Select Detail or Page Footer > Check New Page After

Also Write in formula for "New Page After"

 

NotOnLastPage  //Its something like this only.

 

Now each ID will be printed on one page as long as data for single Invoicd ID fits on one page.

To gain performance use Group on Server and try o avoid Page number thing on PageFooter


这篇关于主要详细报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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