Associate
- Joined
- 27 Jan 2005
- Posts
- 1,396
- Location
- S. Yorks
I have set a filter in Data, the filter is:
=@ItemNo
This works fine in that I can specify an item number and it prints that number out, question is it possible to include a wildcard in the filter so that if the @ItemNo - nothing then use * to extract all records.
Have tried using:
=IIF((@ItemNo)="",*,@ItemNo)
=IIF(isnull(@Itemo),*,@ItemNo)
neither of these work.
Am currently using:
Like N'%' + @ItemNo + N '%'
and this offers some flexibility in the output, just not exactly what I am after.
Anyone help?, Am very new to SSRS.
regards,
Matt
=@ItemNo
This works fine in that I can specify an item number and it prints that number out, question is it possible to include a wildcard in the filter so that if the @ItemNo - nothing then use * to extract all records.
Have tried using:
=IIF((@ItemNo)="",*,@ItemNo)
=IIF(isnull(@Itemo),*,@ItemNo)
neither of these work.
Am currently using:
Like N'%' + @ItemNo + N '%'
and this offers some flexibility in the output, just not exactly what I am after.
Anyone help?, Am very new to SSRS.
regards,
Matt