Report Builder FastReport .Net User Guide: Fundamentals of Reporting

FastReport .Net is a full-featured Windows Forms, ASP.NET and MVC report analysis solution. Using FastReport .NET, you can create .NET reports that are independent of applications. At the same time, FastReport .Net supports 14 languages ​​such as Chinese and English, which can make your products truly international.

FastReport.NET official version download (qun: 585577353) icon-default.png?t=N6B9https://www.evget.com/product/1861/download

Today we will bring the first 4 parts of the user manual, including basic principles, creating reports, using the report designer, and reporting options, hoping to help everyone.

1. Basic principles

In this chapter, we will learn the principles of working with reports in FastReport, in addition we will take a closer look at report elements such as report pages, strips and report objects.

2. Create a report

The report creation process can be expressed as follows:

Report template (later report) - this is what we see in the designer. Reports are saved with a .FRX extension. Reports can be created with the help of a designer or programmatically.

Data can be anything: this is data defined in the program, or data from a DBMS, eg, MS SQL. FastReport can also use business logic objects (later business objects).
Prepared Report - This is what we see in the preview window. Prepared reports can be previewed, printed, saved in one of the supported formats (.doc, .xls, .pdf and others), or can be sent by email.

3. Report Designer

In order to create report templates, the Report Designer is required. The designer can provide users with convenient functions to design reports, and supports previewing reports at the same time.
The designer provides users with the convenient function of designing a report and allows previewing the report at the same time.
The report designer is a composite part of FastReport and does not depend on the development environment.
(for example, MS Visual Studio). If you are a software developer, you can design the report designer into your application.

This will help your end users modify reports or create new ones.

4. Report Options

A window for report options can be called in the "Report|Options..." menu. You'll see a dialog window with several tabs.

On the "General" tab you can control the following report parameters.

  • The "dual channel" parameter allows to enable two reporting channels. This may be necessary when you use the "total pages" system variable.
  • The "Compressed report file" parameter allows to save the report in compressed form. While compressing, zip algorithm is used, that's why you can easily extract the original content with the help of any archive.
  • "Use file cache" parameter allows to save memory when creating reports. Use this parameter if your report has many pages, use this parameter if your report has many pages.
  • "Convert Nulls" controls the conversion of null-valued data columns to default values ​​(0, empty string. false -- depending on a column's data type).
  • The "Text Quality" parameter allows to choose the mode of text display in the report. This mode does not affect the printing of reports.
  • The "Smooth Graphics" parameter allows to enable smoothing mode when drawing graphic objects (lines, borders, pictures).

This mode does not affect the printing of reports; the "Smooth Graphics" parameter allows to enable smoothing mode when drawing graphic objects (lines, borders, pictures).
On the "Description" tab you can give a description of the report. All these parameters are not mandatory, they are just for information, they are for information.

On the "Script" tab, you can select the scripting language for the report. Detailed work on scripts can be found in the "Scripts" chapter.
On the "Security" tab, you can give the password required to open the report. A report with a password is saved in encoded form, so do not forget your password! In this case, restoring a report will be practically impossible in this case.
On the "Inheritance" tab, you can control the inheritance of reports. This function will be discussed later.

Guess you like

Origin blog.csdn.net/m0_67129275/article/details/131847118