Hi I have a report with in section as group. each group is having 1000 records and each group information should come in different tab of excel. As i know there is no direct method to export to excel in different tabs with sap crystal as it is a limitation of crystal. Is there any workaround to add each group into different tab of same excel output. I am using vs2010 to create reports with oracle package.procedure as backend. taking ref cursor output to report.
You can burst the report creating a separate excel file for each group and then join all the files in one excel file. You can implement this in your application or to use one of the tools available on the market. There 2 report schedulers able to do this: R-Tag and Visual Cut. R-Tag has also a report viewer, which can export to multiple worksheets and will be a cheaper solution compared to the scheduler. You might check also if this feature is available in their free license.
Related
I have a RDLC reports that print some data based on a certain query. What I'm trying to do now is to print the same report (with different data based on a different value for the primary key) multiple time without having different files to print.
Let's say I have 3 reports of 2 pages each, I want a single report of 6 pages.
I used to do that in Crystal Report XI simply by putting a group on my primary key but I haven't been able to replicate that in Visual Studio Report Designer.
I need a preview is possibile so I can't just print them one after another.
You could make a combined report that loads the three reports as subreports. There's loads of useful information at gotreportviewer.com/subreports. It's easy if the three different reports are in three different .rdlc files. The situation is slightly more complicated when you want to use the same .rldc file for more than one subreport in the same combined report. A subreport has parameters passed to it, and gets its DataSet through the SubreportProcessing event handler. The solution I came up with was to pass a ReportID parameter to the subreport; then, the SubreportProcessing event handler asks what the ReportID is, and passes back the DataSet appropriate for the report.
You may need to modify your reports slightly to make them work as both "main" reports and subreports. Subreports don't print the header or footer, so if you had important data there you'll need to move that to the body of the report. Also if you use the ReportID trick, then you may need to modify the report to take the ReportID parameter.
Good luck!
After some digging I actually solved my issue using PdfSharp.
It works wonderfully for me because I don't need multiple rdlc files, I just do a loop and then export all to pdf.
How can I create reports (like well-formatted pdf files) and analytical graphs with C#/.NET?
Are there native libraries for this purpose?
I use finaquant's table function library for table operations. I need to integrate some additional functionality to generate reports and send them to proper addresses by email.
You can use rdlc or crystal reports for that. You can create well-formatted and complex reports with these reporting frameworks. By default it gives you functionality to export the data to excel, pdf and word. You can also use report viewer to view the data on a web page.
See below link for the tutorial on rdlc reports:
http://weblogs.asp.net/rajbk/archive/2010/05/09/creating-an-asp-net-report-using-visual-studio-2010-part-1.aspx
There are a lot of reporting tools on the market. As Adarsh said you could try a free crystal reports, but if you need a higher level of customization and flexibility, there is a very good reporting tool List and Label which offers a .NET Api as well.
If you don't want to program it yourself and you have access to the database, then you can use some third party reporting engines like DBxtra which lets you email the reports automatically on an scheduled basis.
I'm trying to generate several reports and show them as one document in a viewer.
Can't seem to find any way of doing this.
Thanks for any help! :)
3 Suggestions:
1) To give the appearance of one viewer with multiple reports you could append viewers to the page and suppress all toolbars.
2) To have multiple reports for a single viewer you would need to make each of the reports a subreport in another report.
3) If the report is not going to be interactive(ie - paging, links, drill down, etc) you could just generate pdf's for each report and merge them.
Is the identity of the reports known at design time? If so, you could embed all of them into another report as sub reports and run the parent report
Is it possible to print a report in Crystal Reports to multiple PDFs, for example if you had an invoice report that needed to be exported to individual PDF documents?
I know this can be done manually, but I would like to set it up to automatically create these PDFs based on the criteria I set up.
According to this thread, it's not possible.
But, you could write a little application that would enumerate pages and call ReportDocument.PrintReport to each page, then configure your PDF printer to save them automatically with some generated file names.
These 2 companies have products to do that, and the technique is called "bursting":
http://www.reportrunner.com
http://www.christainsteven.com
At the moment i am using VSTO to take a SQL Reporting Services report and display it in Excel 2003 using the ReportViewer control. So bascially on a winform hosted inside Excel.
But i also need to be able to display it without the ReportViewer control i.e. just straight into the cells of my Excel sheet.
I'm wonder how I should go about this.
I can retreive the report in CSV format. So should I just loop through the cvs formatted report and insert directly into my Excel sheet one row after another or is there a better way?
You might want to look at what I did trying to print a RS report without user input. It uses RS's web services endpoint to deliver the report into the application. The only difference is that instead of using an IMAGE format, you'd use an EXCEL format on the render call.
Viewing the Reporting Services reports in a web browser has an Export option right at the top of the report. Excel is one of those options. It even exports the formatting. Note that this is for SSRS 2005 - I do not know if anything changed in SSRS 2008.
Can you not just dump the data directly into Excel using CopyFromRecordset?