FastReport VCL function guide: in Delphi / Lazarus / C++ Builde

The report generator FastReport VCL is a modern solution for integrating business intelligence in software. It provides a visual template designer that can access the most popular data sources, report engines, previews, export filters to more than 30 formats, and can be deployed to the cloud, web, email, and print.

FastReport VCL is updated to v6.8, the help on component classes and methods is updated, and the class reference for code completion is added. Added the ability to customize SQL syntax in the SQL editor. A set of delayed commands has been added. These commands enable the report to rebuild itself from the script code and fix multiple bugs at the same time. Welcome to download and experience.

Click to download the latest version of FastReport VCL

I want to point out that FastReport VCL is one of the most convenient components for generating reports of any complexity. After all, here we can use not only different types of DBMS, but also Swiss barcodes, maps, tables, graphics and many other objects. We are often asked "How to create one among multiple reports?".

To this end, FastReport has a feature that, in addition to previously generated reports, also helps to create new reports. The TfrxReport.PrepareReport method has an optional ClearLastReport: Boolean parameter, which is true by default. This parameter determines whether the pages of previously generated reports should be cleared. There is a small detail. When creating the first report, you can use a data set in one database, and when creating the second report, you can use a DataSet in another database.

Example of building a consolidated report:

Pascal:
frxReport1.LoadFromFile('1.fr3');
frxReport1.PrepareReport;
frxReport1.LoadFromFile('2.fr3');
frxReport1.PrepareReport(False);
frxReport1.ShowPreparedReport;;
C++:
frxReport1->LoadFromFile("1. fr3");
frxReport1->PrepareReport(true);
frxReport1->LoadFromFile("2.fr3");
frxReport1->PrepareReport(false);
frxReport1->ShowPreparedReport();
Load the first report and generate it without being on the screen Show it on. Then load the second one into the same TfrxReport object and build it with the ClearLastReport = False parameter. This will add the report to the previously generated report.
You can repeat the second-to-last line to add more and more reports. This option is only available in code.

After using the database, you can view the result file in the preview window. You can also instantly save it in any desired format (PDF, SVG, text file, etc.) to any destination easily.

Want more? You can click to read [FastReport 2020 latest resource inventory] to find the tutorial resources you need. What is exciting is that FastReport .NET is now on sale on Huidu.com! Order online to enjoy ultra-low discounts, starting from 3701 yuan! >>View price details

Guess you like

Origin blog.51cto.com/14874181/2568657