Previously, there were several articles about converting QuickReport 6 and ReportBuilder 19 templates to *.fr3 format.
But this is all inconvenient and requires additional effort to create a project and connect additional modules and creates difficulties when converting templates in bulk.
We decided to create a console utility that would combine the three converters QuickReport 6, ReportBuilder 19, Rave Reports in FastReport VCL 6 and allow bulk conversion of templates using the command line.
Let's look at how to use the console converter.
- Make sure your report dfm files are all in text form. Right-click the form and make sure "Text dfm" is checked.
- Change the first line so that the name of the form is something like "NameofForm : TForm" rather than "NameofForm : TNameofFOrm". Save thedfm files to another folder BEFORE you do this as doing so will breakyour project.
To convert a single file, use the command line to move to the folder where the file is located and use the following commands:
Where are parameters:
The "-split " option is also available
-split - split pages (only QuickReport), if you have multiple TQuickRep objects the FRConverter will splitted dfm into several templates and save them with the names of these objects to the current directory and will also save the template containing these pages.
Example of use:
To see which files of the desired format are in the current folder, you can use the following parameter:
Example of use:
Use the -h parameter to call Help.
To convert a bulk conversion, use the command line to move to the folder where the templates are located and use these commands:
Download link : FRConverter.zip