all groups > sql server reporting services > may 2006 >
You're in the

sql server reporting services

group:

Adding extra parameter to my report doesn't work.


Adding extra parameter to my report doesn't work. siphonalfusion
5/4/2006 3:29:27 PM
sql server reporting services: I have a problem in RS 2000 where when I add another parameter to my
current two it doesn't work. I've tested the procedures in SQL and
when declaring the datasets. The two parameters I have are:
"Report_Date" and "Project_Name". The one I add is called "Cap_Num".
I've modified all the existing datasets to use this new parameter in
addition to the others, but when I preview the report, nothing happens
when I select a value from "Report_Date" and "Cap_Num". I only get
results when I choose the "Project_Name" value and "Report_Date". On
the web when I run the report and I try to select just based on the
"Cap_Num" and "Report_Date" it says to choose a "Project_Name". I've
gone through all of my datasets and queries and have put the proper
conditions for each:

'where xxxx = @Report_Date and @Project_Name OR xxxx=@Report_Date and
@Cap_Num'

Like I said I tested all of the parameters by themselves and the work,
but when they are all integrated, it is still looking for the project
name to be selected. Any ideas?
Re: Adding extra parameter to my report doesn't work. Thomo
5/5/2006 9:47:41 AM
Hi,

I've had a few problems when adding parameters in the past myself.
Couple of things I would check are:
1. Go into the layout tab for the report, select Report Menu and go
into Report Parameters. Make sure the parameters are added in here.
2. Go into the data tab for the report, select the ... button to edit
the dataset, click to the parameters tab and make sure your have an
entry here for your third param should be like
Name Value
CAP_NUM =Parameters!CAP_NUM.Value

hope this helps
Re: Adding extra parameter to my report doesn't work. Bill Miller
5/5/2006 2:49:59 PM
I find that I need to do "Refresh Fields" in the Data window frequently.

[quoted text, click to view]

Re: Adding extra parameter to my report doesn't work. Thomo
5/5/2006 8:12:49 PM
I agree you will also need to do as Bill says
Re: Adding extra parameter to my report doesn't work. siphonalfusion
5/8/2006 6:54:37 AM
I actually found out that I needed to use default parameters. Now it
is working. Thank you all!
AddThis Social Bookmark Button