troubleshooting Question

Could not update a list of fields for the query…

Avatar of BobRosas
BobRosas asked on
Microsoft SQL Server 2008SSRS
4 Comments1 Solution4756 ViewsLast Modified:
I'm using SQL Sever Reporting Services.  I have code and I want to add 2 dropdown parameters.  It worked for the first one (@Supervisor) but when I added code for @Dept .  I get the error…

Could not update a list of fields for the query.  Verify that you can connect to the data source and that your query syntax is correct.

So I stripped out most of the code and I still get the error with just this…
SELECT        LastName
FROM            vw_HrIndividuals
WHERE        (DeptID = @Dept) OR
                         (@Dept = ' All')

What am I doing wrong?
ASKER CERTIFIED SOLUTION
Simone B
BI & Reporting Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros