Rave convertor

2011-09-01

As you know, Embarcadero RAD Studio XE2 is coming with the special edition of FR4. Many people have been asking us: is it possible to convert Rave reports (.rav files) to Fast reports (.fr3 files)? It is possible, because we have developed a convertor from Rave reports for this purpose.

How to convert a .rav file

From a user's point of view, to convert a .rav file no special actions needed: just click File > Open in the main menu of the designer and then choose a .rav file. If you are a developer and want to know how to enable the ability to import .rav files, then consider this code:


Code

1
2
3
4
5
6
7
8
9
10
program RaveImport;
 
uses
 frxClass,
 frxDesgn,
 ConverterRR2FR;
 
begin
 TfrxReport.Create(nil).DesignReport;
end. 

 

Once this program is launched, the report designer appears and its File > Open dialog will offer to open .rav files as well as .fr3 files. Note, that in order to compile this program, you need to have Rave installed, or just have its .pas or .dcu files available to the compiler.

What Rave reports can be imported

The convertor supports the most of components that can appear in a Rave report, including database connections. Those Rave components that have no direct representation in Fast Reports, are converted to components with the closest behaviour. Here is an example of a complex Rave report converted to an .fr3 file:

 

The process of importing

When you click the File > Open menu item and choose a .rav file, the convertor at first checks how many reports are inside the file. If there are several reports inside the file - Rave allows to have multiple reports in a single file - then each report will be converted to a fr3 file and the convertor will ask to choose a folder where all these .fr3 files can be saved:

After that the convertor will start processing each report and during this stage, which can be quite long for big .rav files with numerous reports inside, the following progress bar will be shown:

When all reports converted, the last created .fr3 file is shown in the designer:

Notes

Some old versions of Rave have certain issues with loading numerous big SQL queries, which may result in memory corruption and undefined behaviour of the convertor. To avoid such problems, the convertor provides the property LoadQueries which can be disabled in order to skip loading SQL queries. However, if the convertor is compiled with newer Rave sources, no problems should occur.

Links

This topic is discussed on our forum in this topic. There you can also find a test app that can convert .rav files.

As you know, Embarcadero RAD Studio XE2 is coming with the special edition of FR4. Many people have been asking us: is it possible to convert Rave reports (.rav files) to Fast reports (.fr3 files)? It is possible, because we have developed a convertor from Rave reports for this purpose.

How to convert a .rav file

From a user's point of view, to convert a .rav file no special actions needed: just click File > Open in the main menu of the designer and then choose a .rav file. If you are a developer and want to know how to enable the ability to import .rav files, then consider this code:


Code

20. November 2024

Lokalisierung und Ändern von Sprachen in FastReport VCL

FastReport VCL unterstützt 40 Sprachen für die Schnittstellenlokalisierung und ermöglicht es Ihnen, die Sprache im laufenden Betrieb über Menüs oder Code ohne Neukompilierung zu ändern.
1. November 2024

Neue Funktionen des FastReport VCL Berichtseditors

Wir betrachten die neuen Funktionen des Berichtseditors: Hilfslinien, Hervorhebung von sich schneidenden Objekten, aktualisierte Berichts- und Datenbäume.
30. Oktober 2024

Verwendung von Stilen beim Erstellen von Berichten in FastReport VCL

Dieser Artikel beschreibt eine der neuen Funktionen von FastReport VCL - die Verwendung von Stilen und Stilseiten.
Fast Reports
  • 800-985-8986 (Englisch, die USA)
  • +4930568373928 (Deutsch)
  • +55 19 98147-8148 (Portugiesisch)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2024 Fast Reports Inc.