On demand sub reports in crystal reports - crystal-reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.

PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.

Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

Related

How To Show Jasper Report in Web Page Without Embedding Java Applet Along With Exporting Options of Several File Formats [ pdf , xls etc ]

I am developing an web application where i need to show a report to users. I am using jasper report for reporting. Now what i want to do is to show the jasper report in my web page along with option to export report in pdf/excel file format according to user preference. I don't want to embed java applet on my web page to show report. I have searched over internet and found sample of showing report in browser pdf reader. It solves my purpose of showing report in web page without using applet but by this i can only export report in pdf format. But i need to give user option of exporting in excel format too. So my question is what way i can achieve my goal as i mentioned above?
Finally i found solution of my question. First, I exported jasper report in a html file & then showed the html file in my web page within a iframe which meet my purpose of showing report within web page. And exporting report is done by several exporter class like JRXlsExporter, JRPdfExporter etc. of jasper report.

SSRS Footer not exporting to excel [duplicate]

I am using SQL Server Reporting Services 2008 for reporting. When we export the report to Excel, the footer image or textbox is not exported. Header image is getting exported successfully.
Does anybody know a solution for this?
Jon is correct they are exported but on opening the file you wont automatically see them as they are not displayed in "Normal" view, in 2007 switch to "Page Layout" view. not sure what its called in other versions of excel.
Note: You also might want to read this as it relates to the use of Headers/Footers in RDLC and exporting them to Excel.
Footers in Reporting Services are exported in Excel.
To see them, you need to click View -> Headers and Footers (in Excel)

what are different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2?

i'm still new in Jasper reports.i still confuse what the different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2.Which is more common that people use?. is there any effect when we generate the report?. Can anybody tell me?
Jasperreports supports multiple export formats (xls, pdf, csv, etc...). After developing a report using iReport, you can generate a report in any of those export formats. The best way to view those reports is using an external appliction that you can map. For example, xls report is tied with Excel and pdf reports are tied with Adobe Reader. The new version of iReport supports generation of these reports using the application itself (preview). However, what happens in the background is the same whether you view it with external viewer or internaly using iReport "preview". Personaly, I prefer to use external viewer. The exported reports are cached in the compilation directory.

How do I create one report from multiple Crystal Report rpt files

I have multiple Crystal Reports rpt files and I need to create only one file from them. The file might be any type of rpt, pdf, doc, excel etc.
My problem is that the report files contain subreports and creating a new report and adding them as subreports doesn't seem to work correctly, not showing the data from subreports in subreports.
I know that CR doesn't support subreports in subreports but I need to find a workaround to create only one file from the reports that I have.
Please help !
Not a problem.
Step 1: Export all your Crystal Reports to PDF.
Step 2: Use a freeware PDF merger to merge them all together.
I made a quick google search and found http://www.pdfsam.org/. According to the FAQ, they also have a command-line version (if you need to automate this process, that's the way to go).
Probably the biggest problem you'll have is making all these separate PDFs look like a single document. You might have to get creative with things like page numbers.
You should be able to create one report that contains all of the subreports. If there is no link (join) between the data, it should still work. If there is one (or more) between them, that should be possible too.

smart way to design crystal report

I want to create a crystal report that will match a pdf file. The info in the pdf file is a combination of form fields and instructions layed out in a table format. The crystal report should exactly match the pdf file because I will export the report to pdf later.
is there a smart way of quickly designing the rpt file? like converting the pdf file to an rpt file?
You're better off just building the rpt file from the ground up -- there are no utilities I'm aware of that can covert the PDF to a RPT file.
I agree with LittleBobbyTables in that I don't know of a pdf to Crystal Reports converter so you'll have to build the report on your own from scratch, but you may look into other options instead of Crystal Reports if possible.
Of course it's hard for me to give a good solution since I don't know the drivers behind the decision to use Crystal Reports, but if you are looking to display the data in a web page, Adobe has a pdf to HTML converter here that you may be able to start off with. You put the url to the pdf form and it converts it to HTML or Text. I tried it and thought it did work, it wasn't really close in the look and feel of the original pdf form so you can use it to get you part of the way and then you can wire up the data portion to display your data. Just throwing out another option instead of wedding yourself to Crystal Reports. Hope it helps.