Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chinlax
Starting Member
30 Posts |
Posted - 2011-11-24 : 23:24:57
|
Hi All, I have created one stored procedure.CREATE PROC usp_AddTwoInteger11 @FirstNumber int ,@SecondNumber int, @Answer int OUTPUT asSet @Answer = @FirstNumber + @SecondNumberReturnand in the Report Designerin the dataset properties i have selected stored procedure.and in the 'Define Query Parameters'windowIt has Parameter name as @FirstNumber, @SecondNumber, @AnswerWhat should i enter into the Parameter valueand the Report parameters are automatically created as Firstnumber,Second Number and AnswerThe Preview i can see three Report parameter ,If i enter values into those , its not giving me any output, its the same.....what should i need to do in order to get outputIs this is the correct approach. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-11-25 : 08:50:57
|
you can return parameter values within report like this. Just return it as a resultset and you will get the value------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|