简体   繁体   English

使用MS Access(C#)在Visual Studio 2013中生成发票

[英]Generating Invoices in Visual Studio 2013 with MS Access (C#)

I need to display data stored in MS Access database as a report (Invoice). 我需要将存储在MS Access数据库中的数据显示为报表(发票)。 I have tried this by creating a .rdlc file and dragging the required data fields from DataSets in DataReport toolbox, but this will display the all the invoice numbers and the data that comes under those Invoice Numbers. 我已经尝试通过创建.rdlc文件并将所需的数据字段从DataReport工具箱中的DataSet中拖动来进行尝试,但这将显示所有发票编号以及这些发票编号下的数据。 So I should be able view one invoice at a time by their invoice number and display data under each invoice number seperately. 因此,我应该能够一次查看一张发票的发票编号,并分别显示每个发票编号下的数据。 The data relationships are all set in MS Access. 数据关系都在MS Access中设置。 To make things clear, My Invoice should have one Invoice Number and display all items that comes under that invoice number and I should also be able to view other Invoices with different Invoice Numbers (Navigation from one invoice to another). 为了清楚起见,“我的发票”应该有一个发票号并显示该发票号下的所有项目,而且我还应该能够查看具有不同发票号的其他发票(从一个发票到另一个发票的导航)。

I have not used MS Access much for creating databases, as a requirement for this project I have to use it. 我没有使用MS Access来创建数据库,因为我必须使用它来完成该项目。

Thanks! 谢谢!

You need to filter the data in the report. 您需要过滤报告中的数据。 Microsoft's example is here . 微软的例子在这里 The choice of data source shouldn't be a concern. 数据源的选择不应该成为问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM