如何制作这种报道? [英] How to make this kind of report?

查看:84
本文介绍了如何制作这种报道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我现在有这样的报告:

Device1 Device2

                                        Device1             Device2

Recipename1 Date1 SummaryData SummaryData

Recipename1 Date1    SummaryData  SummaryData

Recipename1 Date2 SummaryData SummaryData

Recipename1 Date2    SummaryData  SummaryData

Recipename2 Date2 SummaryData SummaryData

Recipename2 Date2    SummaryData   SummaryData

数据源是在从sql server获取原始数据后由C#代码操作的数据集。然后我使用推模型将这些数据放入水晶报告中。我通过配方名称和日期信息(已在数据集中完成)总结了上面的列数据。

The data source is a dataset that I manipulate by C# code after getting the raw data from a sql server. I then use the push model to put this data into a crystal report. I summarize column data above by recipe name and date information (done already in the dataset).

原始数据现在已经更改,因此有关于设备的信息(以前不可用)。可以更改设备,这应该在报告中看到。客户希望得到如下报告:

The raw data has now been changed so that there is information about the devices (which wasn't available before). The devices can be changed and this should be seen in the report. The customer would like a report like this:

DeviceName1Version1 DeviceName2Version1

                                         DeviceName1Version1      DeviceName2Version1

Recipename1 Date1 SummaryData SummaryData

Recipename1 Date1     SummaryData                      SummaryData

Recipename1 Date2 SummaryData SummaryData

Recipename1 Date2     SummaryData                      SummaryData

DeviceName1Version2 DeviceName2Version1

                                          DeviceName1Version2     DeviceName2Version1

Recipename1 Date2 SummaryData SummaryData

Recipename1 Date2      SummaryData                     SummaryData

Recipename2 Date2 SummaryData SummaryData

Recipename2 Date2      SummaryData                     SummaryData

与第一个报告版本的区别在于,列名本身就是数据 - 应该作为列名重新打印的数据如果他们改变原始数据。如果可以提出这样的报告,我会感到茫然。我可以操作给报告的数据集但是我想要但是动态地将新的列名行插入到报告中是我认为无法完成的事情。

The difference to the first report version is now that the columnnames themselves are data - data that should be reprinted as columnnames in case they change in the raw data. I am at a loss if this kind of report can be made. I can manipulate the dataset given to the report however I want but inserting new columnname rows into the report dynamically is something that I'm thinking can't be done.

我是已经在考虑替代报告设置,但我想先问一下,如果有人知道某种方式。也欢迎备选报告解决方案。

I am already thinking about alternative report setups but thought I'd ask here first if someone knew of a way. Alternative report solutions are also welcome.

提前谢谢你,CKa。

推荐答案

I无法清楚地理解你的新设计逻辑。所以不确定,但希望创建小组可以解决你的问题


I could not understand your new design logic clearly. So not sure but hopefully creating group may slove your problem



这篇关于如何制作这种报道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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