Groups | Blog | Home
all groups > sql server reporting services > july 2005 >

sql server reporting services : Datetime Filter


Nice_Out
7/18/2005 1:56:07 PM
For one of the tables on my report i need to allow only the records where a
certain datetime field has Null value. I have not been able to figure out the
expression in the filter that would do this.

Any ideas?

I cannot do this in the select statement as other data regions require
Rand
7/18/2005 5:22:01 PM
You can do a filter at the table level (the Table report object, that is) or
at the list level by high-lighting the Table or List (for instance) and
selecting the filters from the Properties menu and placing a filter on the
data in the object. Hope this helps.

[quoted text, click to view]
Nice_Out
7/25/2005 2:12:37 PM
Thanks. I have figured out that I can do a filter.
What I am having trouble with is the expression to use in the filter. I get
the feeling that it does not like to handle Nulls.

[quoted text, click to view]

Rand
7/26/2005 8:32:09 AM
Sorry about that. If I had read more closely I would have seen that. Have
you tried the following in your filter?

set Expression to your date/time field
set Operator to "="
set Value to "= Nothing"

This is assuming you do not also need to include a date spread for when the
field does have a value. If so, let me know. I have that figured out as
well.


[quoted text, click to view]
Nice_Out
7/26/2005 3:11:44 PM
Hey thanks!
That worked groovy.
I swear I tried everything so close to that. Don't know how I missed it.

[quoted text, click to view]

AddThis Social Bookmark Button