I have a Report where i want to show in a DataList only those values Filtered by one of the fields of my dataset. I want to show a Date value ONLY if another column value in that row in my dataset = "IN".
But nothing seems to happen here. No records are shown. It's like the condition is never true.
Steps:
1. I drag a DataList
2. I drag a DatasetField inside the DataList (automatically creates a textbox)
3. Right Click on the Datalist, Properties, then Filter Tab
I use the following statement on the Filter tab
=Cstr(Fields!TransactionType.Value) Like "IN"
or
=Cstr(Fields!TransactionType.Value) = "IN"
it doesnt work at all.
Does anyone knows what's going on?
Thanks
Jose
I've noticed that in filtering sometimes, in fact in most cases, I have to explicitly cast each side to the correct data type. So in your case
Expression: Operator: Value:
=Cstr(Fields!TransactionType.Value) = = Cstr("IN")
Hope this helps.
|||PERFECTLY FINE
THANK YOU
No comments:
Post a Comment