如何在水晶报表中添加几条记录! [英] How to add several records to a crystal report!

查看:72
本文介绍了如何在水晶报表中添加几条记录!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的销售系统开票.我将在下面说明一些信息!该报告应采用以下格式.

发票编号-05523

购买日期-2012年4月29日

商品编号描述数量值

0056键盘5900
0078鼠标10100
0045扬声器20300
0078监视器5 500

------------
1800

------------
------------

但是我的问题是我如何能够以上述格式创建报告?请帮我解决.

感谢

I want to make an invoice for my sales system. I will state some info at the below! The report should have the following format.

Invoice ID - 05523

Purchase Date - 29/04/2012

Item No Desc Qty Value

0056 Key Board 5 900
0078 Mouse 10 100
0045 Speakers 20 300
0078 Monitor 5 500

------------
1800

------------
------------

But my question how I able to create the report at the above format? Please help me to solve that.

Thanks

推荐答案

您需要设计查询以从数据库中获取所有数据.拥有所有必需的数据后,您需要设计水晶报表以按期望的设计显示数据.

看看这些文章,以获取所需的知识:
C#Crystal Reports逐步 [ .NET中的Crystal Reports简介 [使用其功能组,图形,交叉表和子报表逐步创建Crystal报表 [ ^ ]

以上示例可能正在使用C#后端获取数据,但是逻辑保持不变.您需要获取数据然后进行设计.查看有关如何设计报告的示例.
You need to design your query to get all the data from your database. Once you have all the needed data, you need to design your crystal report to show your data in desired design.

Have a look at these articles to get equipped with knowledge needed for it:
C# Crystal Reports step by step [^]
Introductions to Crystal Reports in .NET[^]
Step by Step Creation of Crystal Report using its Features Group, Graph, Cross-Tab and Sub Report[^]

Above samples might be using C# for backend to get data but the logic remains same. You need to fetch data and then design. See the samples on how reports are designed.


这篇关于如何在水晶报表中添加几条记录!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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