Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 SQL and SSRS Variable selection - hide some result
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

112 Posts

Posted - 11/04/2013 :  16:55:34  Show Profile  Reply with Quote
I have a very simply SQL query

Select distinct title from agents
title like '%Engineer%'

this renders a few results back, what I am looking to do is some how only SHOW the top 1 result to the users of there SRSS report as this will be a variable selection, but when selecting this single record it will include all of other results in the search.

so essentially all results will be hidden from the end user, but what they are actually doing is selecting all of the results returned from the above query.

lets say I run the above query the results might render:
Support engineer
Engineer Support
Associate Support Engineer

There are 3 results shown there, I ONLY WANT to show the user the first result, but once they select this in the Report, it should automatically select the other results, this should be a transparent process

Is this possible?

Edited by - 2revup on 11/04/2013 16:58:03
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000