SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

2revup
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
where
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  
 New 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.03 seconds. Powered By: Snitz Forums 2000