IIF IsNothing 表达式示例
我正在使用 SSRS 2008 并尝试创建一个表达式,其中如果日期字段 A 大于日期字段 B 或日期字段 A 为 NULL,则此过滤器将选择此记录。我该怎么做?
我尝试使用此表达式来选择 NULL
日期字段,但它不起作用。我现在将数据类型设置为“文本”——我应该将其设置为布尔值吗?如果是这样,那么我该如何修改这个表达式呢?
=iif(isnothing(Fields!A_date.Value),"yes","no")
I'm using SSRS 2008
and am trying to create an expression
where if date field A is greater than date field B or date field A is NULL then this filter will select this record. How do I do this?
I tried this expression to select NULL
date fields, but it is not working. I set the datatype to "Text" for now--should I set this to boolean instead? If so, then how can I modify this expression?
=iif(isnothing(Fields!A_date.Value),"yes","no")
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个!
Try this !!!