August 7, 2006 at 5:17 pm
August 10, 2006 at 8:00 am
This was removed by the editor as SPAM
August 10, 2006 at 8:33 am
I have had the same problem before. I over came it by creating a dataset that would only return the default value that I needed and used that query to set the default value.
Select 'O' as default
August 10, 2006 at 8:56 am
Thanks for the advice but that won't work for me. The reason being that my two parameters are billing status and doctor name. I set up two queries that return all of the values for billing status and doctor last name. The parameter that accepts the billing status works fine. When a user runs the report, all of the values are selected for billing status. However, the user still has to select a doctor. I would prefer that all of the doctors be selected by default as opposed to just one.
August 10, 2006 at 9:04 am
Then it sounds like you need to create a dynamic query. That is how I get all as the default. Here is a link to a walk througt to create a dynamic query.
August 10, 2006 at 9:31 am
I will look at the article you suggested but what I find odd is that the default value for parameter 1 (billing status) works just fine. Parameter 2 (doctor) doesn't. They are essentially the same. I have a query that returns all of the values for each field as the default value. When a user runs the report, all of the values are selected for billing status. However, the user still has to select a doctor.
I'll check out the article you pointed me to. Thanks!!!
August 10, 2006 at 9:42 am
Post the queries that you are using.
August 10, 2006 at 9:50 am
Donavon -
Thanks for your help!!!! I followed the suggestion of the link you posted and modified my query to include "ALL". I then set the default parameter for Doctors to "ALL".
Another benefit to setting it up this way is that the "Select All" feature was disabled in SSRS 2005 SP1. I guess you could say I knocked out two birds with one stone.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply