Report Parameters Missing in VS2010? - reportviewer

This may be a silly question but where did they bury report parameters in VS2010?
It was easy in 2005/2008. Go to report menu then select report parameters. Now I can't for the life of me find it anywhere!
Thanks.

Looks like the way to do is as follows:
Open your report.
Click on the 'View' menu
At the bottom, select 'Report Data'
Or you can hit ctrl+alt+D
In the view pane that pops up there is a node called 'Parameters' where you can add new report parameters.
Why is 'Report Data' not under the 'Report' menu? Good question, such are the mysteries of Microsoft.

Related

How to migrate Navision Microsoft Dynamics report to SQL

I have access to the Navision SQL Server database and the corresponding Microsoft Dynamics NAV interface.
I want to migrate the 'Aged Acc. Receivable DII' report. Once I select the report and go to Tools > Designer I can see the 'DataItem' list, and when I select any of those and press F9 I see the C/AL Editor as per below.
Selecting another 'Data Item' provides another code. My initial question would be, which code from the 'Data Item' refers to the 'Preview' button in the 'Aged Accounts Receivable - IRES' window?
From the code I understand there are 3 tables joined (Customer, Cust_ Ledger Entry and Detailed Cust_ Ledg_ Entry) but I can not manage to output the same result that in the report produced in the interface. I'm guessing this is a generic report. Is there a query that could be used to generate the same output? Or documentation that would explain how the report is created?
Oh man, i don’t know where to start. MS seems to finally buried Navision 5 along with it’s documentation on msdn. But it is still should be possible for you to open local documentation with F1. Just make sure you are pressing it while your input cursor is on the code. This will open developer’s docu. You will not find there any explanations about how data is structured for output, but you will be able to find how things works.
Back to your questions. You need all the code you see in triggers. And might happen you will need code from the layout that you have not yet discovered. Preview and print buttons doing the same except for the global variable CurrReport.Preview is set to true.
To see if there is any other code open View-Sections, select any section and F9. Code will also be different per section.
The form you are asking is called RequestForm, hence the menu called View-Request page. F9 on the page and any elements on it.
Also, see the button that is third from the right on toolbar on your screen. That is Properties. Many things have properties. For example DataItem’s properties will tell you have child and parent are linked.
If you can open report in the designer then you probably have a developer’s license uploaded to database. Where is the developer then?) It should also allow you to export objects to text file. The you will be able to read every last bit of the code. When window with dataitems is active (for previously mentioned commands as well) press File-Export and select text format. Fob will produce binary output, not useful for you.

Powerbi - view the query used to pull in data

I've downloaded the pbix of a report from a colleague. I'd like to view the SQL query that was used to pull the data into this report. When clicking on 'edit queries' I can see the output of the query, but not the query itself. How do I view the query itself? Note I would like to see the query before any steps Power BI takes. I found something in 'advanced editor' that looks code-like but it doesn't seem to be the raw original code.
Click on the table/query on the left pane. On the right side you see the steps he applied in the query designer and under Home > Advanced Editor you see the whole code what happended.

SQL Report Builder linked report collapses parameter options by default

I'm using Report Builder 3.0 and I have a report that links to another report when clicked on. When the new report opens the parameter options are collapsed by default. I'd like them to be expanded by default if possible but I haven't been able to find an option for it.
This issue is something I've struggled with previously. What I've done to resolve it is inject some javascript into the ReportViewer.aspx file which would "click" the bar if it detected it was collapsed by default.
In my version of RS, the element to click is called ReportViewerControl_ToggleParam, and you can tell if the bar is hidden by looking at the display value of ParametersRowReportViewerControl.
Let me know if you need more details.

How to add custom SP calls to SSMS toolbar

Recently I've found out, that there's an option to include most commonly used queries to be executed by clicking a button on SSMS toolbar.
You can do that by following these steps:
Right mouse click on toolbar
Click Customize
Create new toolbar
Modify it
Add Command
Under Query categories there's option to add up to 9 Custom SPs
Now when I came here, things look like that:
However I'm struggling on how to add the actual procedure, that needs to be executed.
There's an option to add multiple SPs:
Custom SP 1
Custom SP 2
...
sp_help
sp_lock
sp_who
How do I assign my procedure to be Custom SP 1, for instance?
To be clear: My goal is to have a button in SSMS toolbar, which would execute my desired procedure (query) on click.
This is a great question imo, but to do this it's an awful way you'll have to go.
Unfortunately i have the German version of SSMS, so my screens might confuse you a little.
Following you can see a guide:
The Options-Window
Select a free Shortcut
Assign to Toolbar
This seems a bit uncomfortable, but this is the only way i know / can imagine on how to do this.
Let me know if this helps! Cheers
English version of SSMS
Go to Tools-> options

WinCVS - How deselect automatic 'Graph'

I have a little problem with my WinCVS.
When I right-click on a file, I can click on 'Graph'.
Now previeus it showed a dialogbox where I could select info and click on the 'OK' button.
The problem is that I vinked on something before I clicked on 'OK' and now when I right-click on
'Graph' I get the graph righ away.
But how do I get that Dialog box back?
I hope people understand my problem, as I find it hard to explain.
I know the answer, I needed to hold down the [shift] key when doing 'right-click', 'graph'.