在vb 2005 + Pastry shop中使用Crystal Report参数创建发票 [英] Creating an invoice using crystal report parameteres in vb 2005 + Pastry shop

查看:107
本文介绍了在vb 2005 + Pastry shop中使用Crystal Report参数创建发票的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用VB 2005和MS Access 2003创建的程序.在该程序中,我创建了一个数据网格,该数据网格使用JET.4.0 OLEDB数据提供程序进行了连接.数据是从文本框中输入到数据网格的.我想使用vb 2005本身附带的Crystal报表参数传递来创建一个报表,以编程方式进行.

在我的程序中,有7个文本框&它们是收货编号,项目编号,描述,数量,价格,价值,总计.还有5个按钮,分别称为添加",编辑",删除",清除",打印报告".有一个数据网格控件可用于查看表Sales中的数据.

收据编号应使用以前的收据编号自动生成.

报告或收据在每次交易结束时生成.总计基于一笔交易中输入到数据网格的总计值.

发票基于收据编号的每次更改.收据应包含商品编号,描述,数量,价格,价值,并在末尾总计.

这就是为什么我需要在Crystal报表中传递参数的原因.
请提供一些建议或帮助来解决此问题.谢谢
:confused :: sigh:

I have a program created using VB 2005 and MS Access 2003. In the program i have created a data grid which is connected using JET.4.0 OLEDB data provider. The data is been entered from text boxes to the data grid. I want to create a report using crystal report parameter passing which comes with vb 2005 itself pro grammatically.

In my program there are 7 text boxes & they are Receipt No,Item No, Description, Qty, Price, Value, Grand Total. There are also 5 Buttons Called Add, Edit, Delete,clear, Print Report. There is a data grid control use to view the data within the table Sales.

The receipt no should generate automatically using the previous receipt numbers countered.

The report or the receipt is generated at the end of each transaction. The grand total is based on total values entered to the data grid within one transaction.

The invoice is based at each change in receipt no. The receipt should have Item No, Description, Qty, Price, Value and at the end Grand total.

That''s why I need to pass parameters within crystal reports.

Please give some advice or help to solve this problem. Thank you
:confused::sigh:

推荐答案

Chiranthaka Sampath写道:
Chiranthaka Sampath wrote:

我在我自己在这里?


因为大多数人都和家人一起过新年&朋友们.祝您新年快乐.

好,你去.

如何将离散参数传递给Crystal Reports [ VB.NET Crystal Reports字符串参数 [没有数据库的晶体报告 [


Because most of people enjoying new year with their family & friends. Happy new year wishes for you.

Ok here you go.

How to pass discrete parameters to Crystal Reports[^]

VB.NET Crystal Reports String parameter[^]

Crystal Reports Without Database[^]


这篇关于在vb 2005 + Pastry shop中使用Crystal Report参数创建发票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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