How can we improve the performance of a crystal report? OR
What all performance improvement techniques used in crystal
reports? (particularly CR XI)

Answer Posted / madhusudhanreddy t

Some of the answers posted are good, but the real things to
do in order to improve the performance of the crystal
reports are:

- Server Side processing should be done.This can be achieved
by using the option PERFORM GROUPING ON SERVER.

-Using Indexes for faster data retrieval also improves the
performance of the reports.This can be achieved by using the
option USE INDEXES FOR SPEED.

- Instead of using the Formula Fields the other option
provided is SQL Expression Fields to improve the
performance. Using Stored Procedures is also very good
option since they are pre-compiled sql statements which are
permanently stored in the database where syntax checking
will not be done for each individual query.

-If you are using Sub Reports, then you can use the ON
DEMAND SUB REPORTS instead of normal sub reports. Since
using the normal sub reports will be a cost factor to
retrieve the data from the data source.

-Using Linked Tables with Indexes is the better option
instead of sub reports. Again it depends upon your requirement.

-Instead of retrieving all the records, its always
recommended to fetch only the necessary records using the
where condition.

They are still many points to be noted....as far as for
interview point.....providing these answers will surely
place you in a right position.

For any Queries on Crystal Reports and .NET Integration, you
can contact me at madhureddyin@yahoo.com

Thanks and Regards,

Madhusudhanreddy T

Is This Answer Correct ?    26 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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..

3301


How to access crystal reports in .net?

802


Explain the various components in crystal reports?

858


Kindly Help for this Below Scenario, I am going to implement Power BI into our internal software. I’m familiar with the fact that each user can pay $9.99 a month to build and view reports but what I need to know is how can we embed Power BI into our application so that any users that log into our application can see the reports without the monthly fee. I’ve researched enough that it can be done. What I am not familiar with is how to do it or the pricing of embedding it into an application. I think they do pricing on how many renders you do or something. Would you be able to look into how we could embed it into our software and the cost?

1495


Explain basic steps required to display a simple report in crystal?

760






Where can we find the log file generated when we run a crystal report?

787


How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?

1423


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)?

751


What all performance improvement techniques used in crystal reports? (Particularly cr xi)?

767


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?

779


How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?

782


If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?

2354


Why do we use crystal reports when we have reporting tools in bo itself?

796


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?

736


Is there a size limit to creating a Crystal Report? If I run a statement report for all customers it will crash if there are too many customers. I can print all the statements if I select them in batches, but if trying to print all at once Crystal will crash after a few minutes.

1060