Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SSRS report parameter not defaulting to default value on test environment

Posted on 2011-09-13
2
Medium Priority
?
258 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 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
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.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

636 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