on 10-01-2008 12:26 PM
Hi,
1. What value will be passed if we wont give any value for an input parameter?(we are not checking the available Null option also)
2. What will be the value if we check that Null option field for input parameter?
you can set up the parameter to pull null values.
what do you want your parameter to retrieve ALL values if nothing is selected?
would that include null values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
1. What value will be passed if we wont give any value for an input parameter?(we are not checking the available Null option also)
---It will not allow the user to move forward unless until you selet some value in input parameter. (either some value from key board or check the Null Default)
2. What will be the value if we check that Null option field for input parameter?
--It will pass Null vaues to your input parameter and will not retrive any data. Infact this will help the storedprocedure to execute without any error.
Hope this will help you.
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SP you will evaluate the parameter value and pull the data into your report. Now you will remove the parameter from SP for example
Country = {@country}
Country is your datbase field and {@Country} is a parameter. You remove this condition from SP and inset at report level in Record selection.
If you remove this parameter from SP then your SP will retrive all Countries data into your report. In report you will have parameter this will filter the data in report.
Thanks,
Sastry
Thanks Sastry,
But my SP perfomance is depending mainly upone input parameters.If i wll filter each an every input field then there will be perfomance issue.
I am using query like - -- select * from tablename where Country = {@country}.
So there is only one way for me to skip these fields in SP and filter it after processing the data from SP.
Hi Deepak,
You can also do it in other way but it is little complecated :
Create Main report and create parameters which you have in SP.
Insert you SP report as subreport
Pass your main report parameters values to your subreport (SP) parameters.
In this case it will not prompt SP parameters to user.
Thanks,
Sastry
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.