[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Parameters SSRS

Posted on 2012-08-14
4
Medium Priority
?
450 Views
Last Modified: 2012-08-16
I am new to SSRS, i have created a stored proc that will accept 4 variables.  I am not sure how to pass them in.

Thank you
0
Comment
Question by:steven
  • 3
4 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 2000 total points
ID: 38293195
(1)  Create a new dataset by going to the Report Data window, datasets folder, and right-click:Add Dataset.  The Dataset Properties dialog will appear.
(2)  Give it a name, then select 'Use a dataset embedded in my report'.
(3)  In the Query Type section select Stored Procedure, then select your Stored Proc.
(4)  On the left side click on Parameters, and enter your four parameters (assuming by 'variables' you mean parameters) by hitting the Add button, and typing t@ followed by the parameter name.
(5)  Save, and there you go.
0
 

Author Comment

by:steven
ID: 38293208
Thank You.
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 38293223
>typing t@ followed by the parameter name.
Correction:  typing @ followed by the parameter name, e.g. @invoice_number, @first_name, @year, etc.
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 38302739
Thanks fore the grade.  Good luck with your project.  -Jim
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Time Corrections for Reports Working with a report, we made some interesting discoveries about the time corrections/updates We are using the following Parameters: Starting Entered Date (Date) formatted as Data type: "Date/Time" Ending Entered …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 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