In SSRS, how does an “Internal” parameter differ from a “hidden” parameter?

社会主义新天地 提交于 2019-12-04 15:46:42

问题


I've been wrestling with this one report for a long time, and finally figured out what to do but it was serendipitous .

Well I changed a parameter that depends on a previous one to be "Internal" - then everythig worked like I wanted! thanks

How does "Internal" differ from "Hidden" in SSRS?


回答1:


Internal is not exposed and you cannot pass it to the report when calling with parameters from another one. Note it will not appear at the top where the user can change it.

Hidden means that it won't show at the top of the page to allow the user to manually adjust it, but it can be passed to the report via call from another report.

I prefer to use hidden and have sensible defaults on them. In that way I can always override if I need to them when navigating between reports.

I would also look at this similar answer : What are the rules for using "Internal" parameters in SSRS. It shows a good use case for Internal parameters, which I've used on occasion too.




回答2:


PromptUser == false --> Parameter is "Internal"

PromptUser == true && Prompt is null or empty --> Parameter is "Hidden"

PromptUser == true && Prompt is NOT null or empty --> Parameter is visible



来源:https://stackoverflow.com/questions/14179219/in-ssrs-how-does-an-internal-parameter-differ-from-a-hidden-parameter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!