Do I have to learn new script language only for writing a couple of code lines? To call the report designer from the code, all you need is to write one line of the code. Report designer with simple and interactive interface are at your service. Do you want users of your programs to create and change reports themselves? All you should do is to put some bands with data one after another. In other cases it is desirable to replace it with a band.There is no need for you to use sub-reports for rendering complex hierarchical reports. It can be used in creating simple lists reports and reports without a very complex structure. This component is good to create reports fast, but it slows the rendering process. If you render complex reports, it is better to replace it with a band, because the Table consists of a set of items and rebuilding of each item involves a number of checks by all the other items and, if your report has a complex structure, some issues may occur with wrapping and breaking table cells. When updating to the latest product version, you have to re-compile a report from a template (.mrt file) into the assembly. The next time already compiled report is loaded. The main advantage of this method lies in the fact that the compilation occurs only once. Also scripts, used in the report events, are not working in this mode.Īnother method of increasing the speed of report building and reducing memory usage is a compilation of the report as an assembly. For example, incorrect handling of complex expressions. However, it should be noted that this mode is relatively new, so you may have some issues with this. It is very important, especially when a report has a great number of components. In the interpretation mode the compilation does not occur. This will significantly speed up the process of rendering reports. For example remove a component, move it to the print area, enable or disable properties, and so on. If any errors occur while rendering a report, then the Checker generates messages and offers solutions for some of them. This component analyzes the report, resulting in information and error messages or alerts found in reports. In Stimulsoft Reports, the Report Checker is used for checking the report on errors. In addition, the engine of our reporting tool is highly optimized to work with the DataBand component. When using the DataBand component, contents are fully laid out in the main report. This leads to numerous subsequent checks. In the end of rendering this page is broken. The main reason for this recommendation is that, when rendering the Sub-Report, one page of infinite height is created. To speed up report rendering, we recommend you stop using sub-reports in favor of using the DataBand component. Last time we talked about the basics of optimizing directly when creating reports. As for advice for advanced, experienced users of our software products, today we offer a few suggestions to help you avoid unnecessary costs.Īs in the previous article, we divided the optimization into two main categories: increasing the speed of rendering reports and reducing memory used for generating reports. Dear friends, we continue our series of articles on optimizing reports.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |