Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Or condition in dataset filter

Status
Not open for further replies.

BB45

Technical User
Feb 3, 2005
42
0
0
US
SSRS 2008
SQL 2005

I do most of my filtering on the SQL side but I need to add a filter on the report side for this one field and cannot figure out the syntax needed.

I have tried variations of the following but the report always retuns no rows when using the parameter default. Can you help me with what I need to put into the dataset filter?

Here is what I am trying:
=Parameters!RecordID.Value or (Parameters!RecordID.Value = -1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top