FastReport 2.44 to FastReport.NET
Hi all,
I have a old delphi application with many FastReport 2.44 reports and I will migrate this application to C# using FastReport.NET.
Can I transform the old *.frf files to new files for FastReport.NET?
I have a old delphi application with many FastReport 2.44 reports and I will migrate this application to C# using FastReport.NET.
Can I transform the old *.frf files to new files for FastReport.NET?
Comments
Direct conversion frf -> frx is impossible, there is no such converter. However you can convert frf->fr3, then fr3->frx.
See here how to convert frf->fr3: http://www.fast-report.com/en/forum/?p=/discussion/3719
To convert .fr3 files to a new .frx format, do this:
- download the latest version of FastReport 4 (you can even use the trial version)
- add the "frxSaveFRX" unit into your uses list
- run report designer, go "File|Save as...", choose the file type - "FastReport.Net file".
This converter does not perform 100% conversion; you need to change the .frx file. The following items are not converted:
- script (you need to convert pascal code to c# code)
- expressions (you need to convert pascal functions like Copy, Pos, ... to C# functions)
- data fields (add datasources, replace < > with [ ], remove " " around field name)
- totals (you have to replace aggregate functions like Sum, Min, Max with totals - you need to create the total in the "Data" window)
- charts and vertical bands are not converted because FR.Net does not have an equivalent for this
- cross-tab is not converted; I will add this later.