如何生成水晶报告 [英] how to generate crystal report

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

问题描述

我有一个数据集,其中的数据存储如下:



nd不同批次的数据集行数变化我有单批次的intries

现在我想要下面给出的格式的水晶报告。



 table1 

批量厚度颜色gross_wt core_wt nett_wt

b1 t1 col g1 c1 n1

b1 t1 col g2 c2 n2

b1 t1 col g3 c3 n3

b1 t1 col g4 c4 n4



$ b水晶报表中的数据表示为:


______________________________________________________________________
|批次: - b1厚度: - t1 |批次: - b1厚度: - t1 |
|颜色: - col gross_wt: - g1 |颜色: - col gross_wt: - g2 |
| core_wt: - c1 nett_wt: - n1 | core_wt: - c2 nett_wt: - n2 |
| ___________________________________ | _________________________________ |
| | |
|批次: - b1厚度: - t1 |批次: - b1厚度: - t1 |
|颜色: - col gross_wt: - g3 |颜色: - col gross_wt: - g4 |
| core_wt: - c3 nett_wt: - n3 | core_wt: - c4 nett_wt: - n4 |
| ___________________________________ | _________________________________ |

解决方案

从您的示例看,您正在尝试打印标签或类似的东西...这在Crystal Reports中可以使用邮件标签功能。检查出来。


你可以在水晶报告中定义参数并安排相同的值

请参阅以下文章





http:// forumarray。 com / c-pass-parameters-to-crystal-report-549146 [ ^ ]





http://www.daniweb.com/software-development/csharp/threads/377428/crystal-report-in-vs2010 [ ^ ]







Crystal Rep ort使用选择参数进行过滤 [ ^ ]

i have a dataset in which data is stored as given below

nd number of dataset rows changes for differnt batches here i have intries for single batch
now i want crystal report in the format given below.

table1

batch   thickness   color    gross_wt     core_wt   nett_wt
 
 b1       t1        col        g1         c1           n1
 
 b1       t1        col        g2        c2           n2
 
 b1       t1        col        g3        c3           n3
 
 b1       t1        col        g4        c4           n4
 

 

in crystal report the table data represent as:


______________________________________________________________________                                                        
| batch:- b1       thickness:- t1   |   batch:- b1     thickness:- t1 |
| color:- col      gross_wt:- g1    |   color:- col    gross_wt:- g2  |
| core_wt:- c1     nett_wt:- n1     |   core_wt:- c2   nett_wt:- n2   |
|___________________________________|_________________________________|
|                                   |                                 | 
| batch:- b1       thickness:- t1   |   batch:- b1    thickness:- t1  |
| color:- col      gross_wt:- g3    |   color:- col   gross_wt:- g4   |
| core_wt:- c3     nett_wt:- n3     |   core_wt:- c4  nett_wt:- n4    |
|___________________________________|_________________________________|                                  

解决方案

By the look of your sample, you are attempting to print labels or something similar... This is possible in Crystal Reports using the Mailing Labels functionality. Check that out.


You can define parmeters in crystal report and arrange the value in the same
Please see the following articles


http://forumarray.com/c-pass-parameters-to-crystal-report-549146[^]


http://www.daniweb.com/software-development/csharp/threads/377428/crystal-report-in-vs2010[^]



Crystal Report Filtering Using Selection Parameters[^]


这篇关于如何生成水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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