Solved

SSRS report parameter not defaulting to default value on test environment

Posted on 2011-09-13
2
255 Views
Last Modified: 2012-05-12
I have a rdl that I created, with a parameter. I want the parameter to default to a specific value. I have added the following code to my rdl:

<DefaultValue>
        <Values>
          <Value>0</Value>
        </Values>
      </DefaultValue>

It defaults to the correct value on my development machine, but when I try and test it on my test environment, it does not default to the correct value.
0
Comment
Question by:jjliu4492
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 500 total points
ID: 36534244
Set the below values along with Default for the <ReportParameter>.

<DataType>Datatype</DataType>
<Nullable>false</Nullable>
<AllowBlank>false</AllowBlank>


0
 

Author Comment

by:jjliu4492
ID: 36536221
I added

<Nullable>false</Nullable>
<AllowBlank>false</AllowBlank>

to my <ReportParameter>, but it is still defaulting to "Select a Value" on my test environment.

0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question