Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Linking a Parameter to multiple values

$
0
0
Attempting to build a report were you can place a specific code in the parameter field and it will return all row values based on that particular code. I have a similar report that works great, but the specific code is just in 1 column, the one I'm trying to create has the potential to have that code in up to 20 different spots. I have the report built, but the issue I'm facing is linking the parameter. Is there a way to link 1 parameter to multiple column options?Here's an example:Docflo Distribution Group Queue Status Pend1 Pend 2 Pend 3 Pend 4 Pend 5ABC ABC1 Catch All NEW 123 126 125 621 129ABC ABC1 Various PENDED 621 123 872 542 630Right now if I were to link the parameter to the Pend1 field, I would get every line I wanted that had Pend "123", but it would not include any of the lines where Pend "123" was in Pend 2, Pend 3, Pend 4, so on. How would I link the parameter to more than 1 column so it would return all rows with a specific code no matter which Pend column it was in?

Viewing all articles
Browse latest Browse all 3145

Trending Articles