logo
small logo
  • Produits
  • Acheter
  • Assistance
  • About
  • Panneau du client Assistance
    • en
    • de
    • JP
    • ZH
  • Page d'accueil
  • /
  • Articles
  • /
  • Rave convertor
  • Winner of FastReport VCL Demo contest

    12 janvier 2021

    During the summer we held a contest for the best demo addon, application or report

    read more
  • How to print business cards from a Delphi application

    24 août 2020

    Applications built in Delphi are less common than, for example, those built in C #.

    read more
  • How to upgrade an old version to a new FastReport VCL

    20 mai 2022

    Starting version 2021.1 all FastReport VCL editions are subscription-based. It means that you will

    read more
  • Installing FastReport in Lazarus for Linux and Windows

    18 août 2022

    We are pleased to present you the long-awaited release of Lazarus version 2.2.0, in which

    read more
  • How to create an invoice from a Delphi application

    1 juillet 2020

    As for Delphi applications, we understand that we are talking about applications implemented in VCL

    read more

Rave convertor

1 septembre 2011

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

avatar
Dmitriy Fedyashov
Technical Writer
Fast Reports Team: Dmitriy Fedyashov - Technical Writer at Fast Reports
VCL FastReport Converter

Ajouter un commentaire
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Acheter
  • Télécharger
  • Documentation
  • Avis
  • Comment désinstaller nos produits
  • FAQ
  • Tutoriel vidéo
  • Forum
  • Articles
  • Nos actualités
  • Dossier Presse
  • Partenaires
  • Extended licensing
  • Nous contacter

© 1998-2023 by Fast Reports Inc.

  • Politique de confidentialité
  • Pas une offre publique