在报告中显示数据 [英] Displaying Data In the Report

查看:109
本文介绍了在报告中显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!



我对报告工具很陌生,并且对如何显示我的数据有疑问我的报告。



我有一份报告说我正在将数据集传入。我的数据集格式为:


1 EmployeeName Date ClockIn(1)ClockOut(1)


2 EmployeeName Date ClockIn(2)ClockOut(2) )


3 EmployeeName2 Date ClockIn(1)ClockOut(1)


4 EmployeeName2 Date ClockIn(2)ClockOut(2)


........................



我希望能够显示按日期和employeeName分组的信息。所以我希望我的报告看起来像这样:



日期(星期一)


员工1


时钟输入(1)时钟输出(1)


时钟输入(2)时钟输出(2)


员工2


时钟输入(1)时钟输出(1)


时钟输入(2)时钟输出(2)



日期(星期二)


员工1


时钟输入( 1)时钟输出(1)


时钟输入(2)时钟输出(2)


员工2


时钟输入(1)时钟输出(1)


时钟在(2)时钟输出(2)



................... .................................................. .....



我一直在尝试使用设计表和/或子报表来创建此报告。有人能指出我如何开始这个方向的正确方向?这些表似乎不允许您显示我的报告的(日期/员工)方面。每当我尝试添加它时,我都会收到关于能够生成子报表的错误。



任何帮助都将非常感谢。谢谢!



Carrie

解决方案

您可以使用子报告执行此操作。


例如模型 http://www.gotreportviewer.com/masterdetail/index.html


< p class = MsoNormal style ="margin:0cm 0cm 0pt">


祝你好运。


Hi!

 

I'm pretty new to the reporting tool and have a question about how to display my data in my report.

 

I have a report that I am passing a dataset into.  My dataset has the format of:

1    EmployeeName       Date    ClockIn(1)        ClockOut(1)

2    EmployeeName       Date    ClockIn(2)        ClockOut(2)

3    EmployeeName2     Date    ClockIn(1)        ClockOut(1)

4    EmployeeName2     Date    ClockIn(2)        ClockOut(2)

........................

 

I want to be able to display this information grouped by the date and employeeName.  So I want my report to look something like this:

 

Date (Monday)

     Employee 1

                Clock In (1)               Clock Out (1)

                Clock In (2)               Clock Out (2)

     Employee 2

                Clock In (1)               Clock Out (1)

                Clock In (2)               Clock Out (2)

 

Date (Tuesday)

     Employee 1

                Clock In (1)               Clock Out (1)

                Clock In (2)               Clock Out (2)

     Employee 2

                Clock In (1)               Clock Out (1)

                Clock In (2)               Clock Out (2)

 

..........................................................................

 

I've been experimenting with using a design table and/or subreports to create this report.  Could someone point me in the right direction on how to get started with this?  The tables don't seem to allow you to display the (date / employee) aspects of my report.  And I get an error about being able to generate my subreport whenever I try to add that.

 

Any help would be greatly appreciated.  Thanks!

 

Carrie              

解决方案

You can do it with subreport.

For example model http://www.gotreportviewer.com/masterdetail/index.html

 

Good luck.


这篇关于在报告中显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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