如何从拖曳时间范围中选择行到水晶报告 [英] how to select rows from tow time ranges to crystal report
本文介绍了如何从拖曳时间范围中选择行到水晶报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Dears,
我有一个小数据集表包含4列:ID,loandate,金额,年龄。这些列是从两个大的连接表中选择的。
现在来自这个小数据集表我想从这个时间范围中选择贷款。 2/2/2012(startdate)到2014年2月2日(enddate),同时我想在开始日期(2012年2月2日)之前选择贷款。
输出应放在C#和visual studio 2010的水晶报告中。
所以任何人都可以帮忙。
Dears,
I have one small dataset table contains 4 columns: ID, loandate, amount, age. these columns are selected from two big joined tables.
now from this small dataset table I want to select loans from this time range ex. 2/2/2012 (startdate) to 2/2/2014 (enddate) and at the same time I want to select the loan before the start date(2/2/2012).
the output should be placed in a crystal report with C# and visual studio 2010.
so can any one help please.
推荐答案
查看这些教程
C#Crystal Reports日期参数 [ ^ ]
C#Crystal Reports - 迄今为止的日期 [ ^ ]
Check these tutorials
C# Crystal Reports Date parameter[^]
C# Crystal Reports - Date to Date[^]
hi,
我已经成功获得两个日期之间的数据。但我的问题是如何在startdate之前获取数据的时间与我在两个日期之间获取数据的记录相同。例如:
---------------------------------------- ------------------------------------------------ <无线电通信/>
|开始日期之前的时间2/2/2012 ---------- || 2012年2月2日至2014年2月2日之间的时间
| ---------------------------- -------------------------------------------------- -
年龄|没有。开始日期之前的贷款|金额||没有。两者之间的贷款金额
----------------------------------------- ---------------------------------------------
18-25 | ....................................... | ... ...... || .......................... |
25-30 | ... ..................................... | ......... ||。 ......................... |
30-35 | | || |
35-40 | | || |
40-45 | | || |
我可以从数据集表中做这样的表,包括4列,例如,loanid,age,loandate,amout使用crystal report ?
我感谢你的帮助。
抱歉我试过制作演示表但是编辑器重叠了我的文字绘制
I already did successfully get data between two dates. but my problem is how to get data also for time before startdate in the same record as I get data between two dates. example:
----------------------------------------------------------------------------------------
| time before start date 2/2/2012----------|| time between 2/2/2012 & 2/2/2014
|--------------------------------------------------------------------------------
Age | no. of loans before start date | amount || no. of loans in between | amount
--------------------------------------------------------------------------------------
18-25 |.......................................|.........||..........................|
25-30 |........................................|.........||..........................|
30-35 | | || |
35-40 | | || |
40-45 | | || |
Can I do such table from that dataset table consist of 4 columns as, loanid,age,loandate,amout using crystal report?
I appreciate your help.
sorry I tried make demo table but the editor is overlap my text draw
这篇关于如何从拖曳时间范围中选择行到水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文