How do I hide sections based upon some criteria? - visual-studio-2010

I'm working on a SQL Server Reporting Service report, that will eventually be in my WPF app. There are certain sections of the report which should only be shown, if certain conditions are met. How do I make sections appear or be hidden/collapsed in the Report Viewer? (I'm working in VS 2010.)

It may depend on what you mean by "section". Most report objects (such as text boxes, table rows, etc.) have a property Visibility>Hidden which can be set to a condition, by selecting the <Expression...> option for the property in the Properties window in the Report Designer.

Related

Finding fields in report builder

One of the columns in my Table actually has a value which is picks from a field from dataset and a textbox (for example =Fields!Total.Value/ReportItems!Textbox80.Value). The Total Field comes from a dataset in my report however I am struggling to find the Textbox80 . Is there any way I can search for this Textbox from Report builder UI. I tried seeing in Properties view as well but Could not find a way. I looked at below link also for help but it talks about BIDS which I cant see in Report builder
This seems to be a potential duplicate of How do I find a specific textbox within a SSRS 2008 R2 Report
The answers show that there is no specific way to do this with the report builder UI without selecting each report item and manually checking the properties menu.
The textbox can easily be seen if you are viewing the report in Visual studio (using the properties drop down box at the top of the screen)
The textbox can also be found if you edit the .rdl file in a text editor, which can then allow you to attempt to locate the textbox

Is the Drill Through (or Drill Down) functionality for RDLC report only available for web applications?

We have several Crystal Reports that are used in a Windows Form application that we are re-creating using RDLC. One of the reports needs the ability to drill through (or down) to more detailed data. I've followed several examples (mostly for SSRS) to enable the drill through functionality in the RDLC report but I can never get it to work. Its like the drill through logic is being ignored. I never get the "hand" to appear. I've even tried using "Go to URL" for the action and that doesn't work.
Is this functionality only available for SSRS or web applications?

Birt Interactive Report with maximo

Here I have a question that is it possible to create an interactive report.
I have a requirement like I have to approve bulk data in Maximo side with birt, in birt report I will keep check boxes who else will run that report they will select that checkboxes if they select the checkbox in the report, the same checkbox need to update in Maximo record. In Maximo also records contain checkboxes.
Two examples of how Maximo does this in the out of the box reports would be the Inventory ROP Analysis and Inventory EOQ Analysis reports - both come with the option on the last page to update Maximo with the suggested Economic Order Quantity or Re Order Point data. That's where I'd start.
The BIRT update reports are interesting. There are several actually. The update report is called directly from the runtime report, as #JohnHartin states. They are not registered directly to the Application. This is for security reasons.
The update report when executed will take the same input parameters you entered into the runtime report and essentially re-execute the report , except the update report has SQL which writes back to the DB. As mentioned as and example: the ROP Analysis. You will find the ".rptdesign" file in the {Maximo_home}/reports/birt/reports/INVENTOR folder on your Maximo build machine. (The report subfolder is the repository you import into BIRT tool to modify your reports.)
From your BIRT workstation navigate to the INVENTOR folder in your project browser and you can then see it in BIRT. Next, you will be able to open up the design file, (note the update reports have "update" as part of the design file name so real easy to identify.) Then you can examine the SQL in the Initialize method of the report.
Since this report works in conjunction with the Analysis report what happens when you touch the update button on the analysis report, is the data generated in the analysis report is parsed and sent as multiple update SQL transactions back to Maximo DB. It is incumbent upon you to be very careful making any modifications to the Analysis AND update reports together.
Hope this helps.

sql server 2008 reporting design layout

I have set up a reporting tool using sql server 2008 R2 with a single report containing 4 datasets on a single page. Each dataset is basically a table and a chart. I would like to have it set up in such a way as to have two datasets on one page of the report and the others on the next page.
Is there anyway to format the layout of a single report or would I have to design a second report and call that from the first somehow and if so how do I do that?
These reports will be later binded to a web application using the reportviewer but not sure if this is possible with visual studio 2010.
Add a page break. You'll maybe need to add an extra rectangle per page to hold the table and chart controls for that page (been some time since I designed a report, sorry)

Why use ReportView?

Reporting is pretty new to me. I see that VS provides some Reporting controls that provides a wizard to help creating the report. My question is, if I already have stored procedures that generate the report data, what is the difference between presenting it through a reportview or gridview? Is there obvious advantage that reportview control provides that other grid controls don't?
ReportViewer in local mode (RDLC) has a lot of additional functionality
ReportViewer can do multiple tables, graphs and non-table data
ReportViewer can paginate and print data
ReportViewer has capabilities to export the report into Excel, PDF etc.
You can use ReportViewer controls to display reports generated with Sql Server Reporting Services. So if you wanted to have a report that included charts or graphics, you could create it and host it in SSRS and then include it right in your application.
A grid view can only display data in a grid. The report viewer has the capability to format data in much more sophisticated ways.

Resources