﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / SSRS 2008 Parameter Passing Issue / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 09:26:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SSRS 2008 Parameter Passing Issue</title><link>http://www.sqlservercentral.com/Forums/Topic1382449-391-1.aspx</link><description>[quote][b]T_Dot_Geek (11/8/2012)[/b][hr][img]C:\Screens\DefaultValues.jpg[/img]Make sure there is no Default Values Specified in the Store Parameter Area.[/quote]Thanks!</description><pubDate>Thu, 08 Nov 2012 19:20:02 GMT</pubDate><dc:creator>Lexa</dc:creator></item><item><title>RE: SSRS 2008 Parameter Passing Issue</title><link>http://www.sqlservercentral.com/Forums/Topic1382449-391-1.aspx</link><description>[img]C:\Screens\DefaultValues.jpg[/img]Make sure there is no Default Values Specified in the Store Parameter Area.</description><pubDate>Thu, 08 Nov 2012 09:22:58 GMT</pubDate><dc:creator>T_Dot_Geek</dc:creator></item><item><title>SSRS 2008 Parameter Passing Issue</title><link>http://www.sqlservercentral.com/Forums/Topic1382449-391-1.aspx</link><description>Hi,We're using SSRS within an application where users login and are authenticated based on their Store.  When they generate reports, we pass their store name to SSRS to generate report for their store. Everything works fine on the first report generation.  But when the user picks a different date range, they get report for all of the stores in the system.  We use MDX to feed the default and available parameter for store name in the .rdl as follows:SELECT NON EMPTY { [Measures].[MTDActiveMembers], [Measures].[YTDActiveMembers], [Measures].[MTDMembers], [Measures].[YTDMembers], [Measures].[Members], [Measures].[Members-Active] } ON COLUMNS, NON EMPTY { ([Store].[Store].[Store].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( STRTOSET(@StoreStore, CONSTRAINED) ) ON COLUMNS FROM ( SELECT ( STRTOMEMBER(@FromCalendarDateHierarchy, CONSTRAINED) : STRTOMEMBER(@ToCalendarDateHierarchy, CONSTRAINED) ) ON COLUMNS FROM [Members])) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGSStepping through the app revealed that when the user picks a different date range, all the parameters are intact, correct store name is preserved, but when the user hits "View Report" parameter for store name changes to ALL.  :w00t:  What could be wrong?  As far as app is concerned "View Report" is a black box, so don't know what to change with the rdl :(</description><pubDate>Thu, 08 Nov 2012 06:11:53 GMT</pubDate><dc:creator>Lexa</dc:creator></item></channel></rss>