问题
I am self-learning SSRS via Microsoft SQL Server Data Tools, VS 2015. I am using tutorial from here
I cannot see the parameter I created in preview. The visible has been selected in parameter properties. What have I missed out? Thanks in advance if anyone can help me.
. Microsoft SQL Server Data Tools, VS 2015
. Microsoft SQL Server management studio 2016
Design
Preview
Parameter Properties
回答1:
SSDT/Visual studio is strange and strange glitches such as this occur quite often. Another similar glitch is when changing the dataset sql query, sometimes you will have to delete reportname.rdl.data in the project folder for the changes to occur.
Saving and reopening is the only guaranteed way to fix your problem.
回答2:
I have seen the same issue. You don't even need to close and reload the project or VS 2015 (SSDT), you can simply close and reopen the report and then the parameters should display fine. I haven't been able to always reproduce this, maybe it is when a parameter is added because I just had this happen to me again. Definitely a bug that needs to be filed.
回答3:
Save and close VS. Reopen the project OR Unload and Re-load your Reports Project.
The parameters will now appear!
I had this same problem. Super frustrating.
回答4:
Save and close VS. Reopen the project OR Unload and Re-load your Reports Project.
The parameters will now appear!
It worked for me.Visual Studio 2015 my version worked
回答5:
I was able to consistently cause it by setting parameter visibility to internal. Changing back to Visible does not impress it.
回答6:
I had the same issue, the solution is to save all the work and close the program and then open again. It will start to appear.
回答7:
There is an easily missed tiny little arrow in the top middle of the preview screen which hides or unhides parameters - try clicking on this. Same thing applies in report server by the way.
回答8:
This has happened a few times to me and I don't have a solution. (I can also confirm that it relates to hiding a parameter.)
However I did find I was able to tab to the parameter field(s) and fill them in, then press enter to view the report, which is useful when in the middle of a project and restarting is more frustrating than tabbing to fill in a parameter or two.
回答9:
I was having a similar issue in the Report Server, where the parameters were hidden when the report was drilled to via some URL by adding "Parameters=false to the actual hyperlink. It turns out I had the parameters disabled right in the URL. Might be obvious to some, but it took me some time to figure out. Sharing in case this helps anyone else.
回答10:
I have found that if the window is not large enough to display all parameter values, then no parameters are displayed after the initial preview. Drag the window bar down to expose all parameters while in preview mode. When dragging, don't click on the 'up' arrow, but click on the bar.
回答11:
Have you considered using SQL Server 2016 Report Builder? You should be able to perform most operations that you see in that tutorial in this tool. This tool allows you to create, design and publish reports and shared data sets to SQL Server Reporting Services 2016 and 2017. You can download it from here.
来源:https://stackoverflow.com/questions/38291811/ssrs-2016-cannot-see-parameter