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!

Pass where clause to Reporting Services dataset

Status
Not open for further replies.

plsh

Programmer
Mar 5, 2003
118
0
0
ZA
Hi there,

Does anyone know how to or if it is possible to pass a where clause as a parameter to a dataset for a Reporting Services report? I have a case where depending on what is selected the where clause needs to be based on a different fields. Or otherwise if an if statement can be used in the dataset to overcome this problem.

Thanks
 
Not sure if I totally understand your question yet, but there is a filter property that can be assigned to a dataset that works like a where clause.
If this isn't helpful, elaborate a bit on what you're trying to do:)
 
Hi Nuovo2004,

Sorry about being so unclear. I have actually managed to sort the problem out, passing parameters and using some if statements in my dataset. Thank you though, sorry for the inconvenience.
 
Nothing inconvenient in posting your questions on this site. I encourage you to post more reporting services questions so they can start a separate forum soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top