Fastreport is a fast reporting tool developed by Microsoft, which is very convenient and easy to use. The key is fast. The following describes the use of Fastreport in the project.
For one of the
First open the Fastreport tool to draw a good format such as:
Requires some parameters and data sources such as the following
There are two ways to add a DataTable in DataSource,
The first is to add a DataTable using the top button Data->add DataSource and then filling in the server, database, and username password plus the SQL statement. This approach is simple but a little more restrictive, and if I pass through a DataTable in a program that doesn't work well, then we'll look at the second way.
The second way is to first open the Fastreport tool and then select Save Dictionary in the upper corner action, open the Frd file with Notepad, add the Tabledatasource node, and then add the columns. After saving
Re-import the newly modified Dictionary file or select OPen Dictionary at ation, we can see the DataTable we added below DataSource.
Getting Started with Fastreport