Need to generate some financial report where the formatting is controlled by the data
haven't done reporting in a while but does any reporting support that
e.g. based on a flag in the source dataset
the row text could be bold
the row could have an underlining
the report could start a new group header etc.
There is a component called the ReportViewer for WinForms which ships with Visual Studio. This will do exactly what you need. You can bind it to one or more DataTables and it will essentially render you a report in PDF or in XLS or what have you. If you don't need to present it to the user, just use the LocalReport class and call its Render() method.
Related
I'm trying to create my first report and I created a dataset and am trying to drag table from the toolbox. But it is grayed out. How to enable it? Any reason why it is happening like that?
You haven't actually created a new report. What you've done is create a project which can and often does contain many different reports. These projects can also contain many data sets and data sources. You can right-click the reports folder and create a new report which will enable those controls.
First I need to show a PDF File in an WPF application . It appears the only two ways are using a web control or some sort of WinForms/Com based solution using the Acrobat reader component.
Assuming I get it to show up in a UI my problem is I want to add annotations to the PDF itself. Is this even possible.
I have a full-text catalog containing PowerPoint presentations. Some of those presentations contain charts, and in those cases, the chart is usually the main thing on the slide. When doing a search, I therefore want to be able to search for the text within the chart (e.g. the labels on a pie chart, the categories on a bar chart, etc.).
I'm disappointed (and surprised) to find that this does not seem to work. I can search for text within the presentation itself, but not for any of the text on the chart.
Please tell me there's just a setting somewhere that I need to change!
[I've tried this for charts created within PowerPoint, and charts created in Excel and then pasted into PowerPoint.]
Gary, the text extraction from Office documents is handled by the Office Filter Pack and as such, there is nothing Full-text can do for embedded data which the filters do not parse.
I successfully repro-ed the problem in my SQL Server 2012 install with the latest Office Filters. A quick work-around would be to add the labels/categories to the Notes section of each slide which gets parsed and filtered and returned to the full-text indexer.
I have to add a crystal report to a tab item from a tabcontrol in Silverlight.
Is it possible to do this without using 3rd party controls, just with usual controls on Visual Studio ? And if it is possible, how do I do this?
I don't think so, but you can certainly export the report to HTML format with code and display that in the silverlight control.
Unfortunately, no.
Plus there's no way of displaying an HTML content inside a Silverlight application; so you cannot export the report in HTML format in order to display it either.
A Silverlight application runs within a sandbox provided by the Silverlight plugin, and you cannot have an HTML document or element rendered in it.
So your best shot would be to either code a custom reporting service inside your application, or fire up the Crystal Reports on a new window or a separate HTML layer.
I'm using ReportViewer WinForms, and since it is no easy way to create an coversheet, then I wonder, is it possible to render two reports and have them concatenated?, so they appear as one report?
If I was to print only, then I could execute two reports after each other, but since the user want to see the report before printing (you know, no environment waste here) then they have to appear in the same viewer.
OR, is there other ways of creating coversheets?
Today I use an subreport, but there are some issues with margins etc. which is not easy to fix.
To clarify, we are talking about
ReportViewer using RDLC files, no
Crystal Reports involved.
Do you need to display the 2 reports as 1 in the reportViewer control or would having them both exported to PDF and showing a single PDF containing both reports be satisfactory?
I was looking for that but using the Web ReportViewer and found examples exporting the reports to several PDFs, then concatenating the PDFs into 1 using PDFtk (free)
Blog post about using PDFtk and Reporting Services
Multiple RDLC reports displayed at the same time
PDFtk web site
I've created a report that sounds like what you are attempting to do...first to clarify, I'm going to guess your using Crystal Reports within VS2005/2008.
If that's the case, all you need to do in the main report is create an additional section after your section that contains the "Cover Sheet" layout/data. In the section expert for the "Cover Sheet" section (in layout view, right click on section header bar, pick section expert in pop up menu..), check off the "New Page After" option.
Edit: After your update, I see you are using RDLC reports, and from my limited exposure to those, I can't recall an easy way to get to where you want to be. Though I'm pretty sure you may be able to pass multiple reports to the same report viewer in code.