如何将主报表的日期与子报表的日期进行比较以获取数据? [英] How Can I compare date of main report with a date of subreport to get data?

查看:101
本文介绍了如何将主报表的日期与子报表的日期进行比较以获取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2010的Crystal报告中有一份主要报告。

RecipeDate 在其标题内有一个子报告。

在子报告中有一个 IssueDate

我想显示所有的发布在 RecipeDate 之后/之后但在下一个 RecipeDate 之前发布的子报告

例如:

如果我在2013年11月18日准备了食谱

从第二天开始发布,即19/11/2013

下一份食谱准备于2013年11月25日。

so 我想显示2013年11月18日至2013年11月25日之间的所有发行

怎么可能?

解决方案

查看本教程&定制它

C#Crystal Reports - 日期发布日期 [ ^ ]



编辑

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

如何将日期范围传递给使用参数的子报表 [ ^ ]

业务报告:将日期参数传递到子报告中 [ ^

I have a main report in Crystal reports of visual studio 2010.
It is group with RecipeDate and inside its header there is a subreport.
In subreport there is a IssueDate.
I want to show all the issuance in the subreport issued right after/on RecipeDate but before the next RecipeDate.
For Example:
If I have a Recipe prepared on 18/11/2013
and started issuing from the next day i.e 19/11/2013
and the next Recipe is prepared on 25/11/2013.
so I want to show all the issuance between 18/11/2013 till 25/11/2013
How is it possible?

解决方案

Check this tutorial & customize it
C# Crystal Reports - Date to Date[^]

EDIT
----------------
How to pass a date range to a subreport using a parameter[^]
Business Reporting: Passing date parameters into a sub report[^]


这篇关于如何将主报表的日期与子报表的日期进行比较以获取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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