Is it possible to export crystal report with linked
subreports in one excel sheet?If yes,then how?
Answer Posted / pratiba
Yes, Create a main Report, and sub report seperately.
Open the Main Report and in Insert menu, select subreport
option, and in that "select an existing report",select the
sub report which is already created, and pt the link
between Main report and sub report with the required
fields. Now Export the report to Excel format.......
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
hi ... i've created one crystal report in windows form and one crystalreportviewer .. the following is my code.. in form1.cs file try { ExportOptions CrExportOptions; DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions(); PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions(); CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net- informations.pdf"; CrExportOptions = cryRpt.ExportOptions; { CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat; CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions; CrExportOptions.FormatOptions = CrFormatTypeOptions; } cryRpt.Export(); } the above code is saving the file into pdf into specified path.. but i dont want to save a file i should get direct print preview and have a option to print .. As we do in web application using crystal report viewer clicking print and report will be opened in pdf.. and the click print.. i want the same function as we do in web application... i'm writing code in c#.net hope the above explaination will be understood clearly..
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?
Explain basic steps required to display a simple report in crystal?
How do you add a subreport to a report in Crystal Reports?
What all performance improvement techniques used in crystal reports? (Particularly cr xi)?
Where can we find the log file generated when we run a crystal report?
How to access crystal reports in .net?
What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions)?
Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?
Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?
Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?
Where is the image located, after youve placed it on the report?
how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema
How can we improve the performance of a crystal report?