是否有这样的标准 - >比日期和日期之间的差距更小 [英] is there such criteria as this --> LESS THAN BETWEEN fromDate and toDate

查看:64
本文介绍了是否有这样的标准 - >比日期和日期之间的差距更小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大师......我再次需要你的帮助...


我有一份报告,如果你在txtFromDate和txtToDate之间查询toDate字段,则正确返回值,


然而我真正需要的是早些时候分配此类设备,例如2013年3月1日分配给日期的汽车,并且我在2013年4月1日至4月30日期间运行报告日期仍然应该是包含在报告中,因为它尚未由用户发布...


示例代码如下...

展开 | 选择 | Wrap | 行号

解决方案


仍应包含在报告中,因为它尚未由用户发布。 ..



请完整解释...


是...因为如果你在4月1日的日期运行报告到了4月30日...并且汽车被分配到3月1号逻辑上它不会出现在报告上,因为我在txtFromDate(4月1日)和txtToDate(4月30日)之间进行了查询


" ;仍应包括在报告中,因为它尚未由用户发布 < ---汽车被分配到3月1日,从那天起到用户仍在使用汽车,因此当我生成4月1日至4月30日的报告时,汽车应该反映在我的BETWEEN 4月1日至4月30日的报告中。 ..

Gurus ... I need your help once again ...

I have a report wherein if you query toDate field between txtFromDate and txtToDate returns the values correctly,

however what I really need is when such equipment were assigned earlier like for example Car assigned toDate is March 1, 2013 and I run the report dates between April 1 to April 30, 2013 it should still be included in the report because it''s not yet released by the user ...

sample code below ...

Expand|Select|Wrap|Line Numbers

解决方案

should still be included in the report because it''s not yet released by the user ...

Please explain more fully...


yes ... because if u run the report on dates april 1 to april 30 ...and the car was assigned march 1 logically it will not appear on the report because i made a query BETWEEN txtFromDate (april 1) and txtToDate (april 30)


"should still be included in the report because it''s not yet released by the user" <--- the car was assigned march 1 and from that date till april 30 the user still using the car so when i generate the report of april 1 to april 30 that car should reflect on my BETWEEN april 1 to april 30 report...


这篇关于是否有这样的标准 - &gt;比日期和日期之间的差距更小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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