Setting Default Value of a Parameter to NULL in SSRS Report
If want to Set the default value of a parameter to null then right click on parameter and select parameter properties . In GENERAL tab check Allow null value.Then click on DEFAULT VALUES tab, select the radio button of specify values. click on Fx button. A dialogue box open for writing formula. Write the formula
"= nothing" (without double quotes)
and click OK. Now your report will automatically take the Null value for that parameter.
This is mostly used for date-time parameters and also used when you have to pass report parameters from Application (asp page).
"= nothing" (without double quotes)
and click OK. Now your report will automatically take the Null value for that parameter.
This is mostly used for date-time parameters and also used when you have to pass report parameters from Application (asp page).
Comments
Post a Comment