Information for converter qr2fr

edited 9:15AM in FastReport 4.0
Hi
I am new user fastreport and


I find a example in delphi 7 or Xe2 to convert Qrreport to Fastreport with delphi.

I dont understand the procedure to transfert


thank you for yout help

Mario

Comments

  • gpigpi
    edited 9:15AM
    Using:
    conv := TConverterQr2Fr.Create;
    conv.Source := QuickRep1;
    conv.Target := frxReport1;
    conv.Convert;
    frxReport1.SaveToFile('converted_fromQR.fr3');
  • edited 9:15AM
    gpi wrote: »
    Using:
    conv := TConverterQr2Fr.Create;
    conv.Source := QuickRep1;
    conv.Target := frxReport1;
    conv.Convert;
    frxReport1.SaveToFile('converted_fromQR.fr3');

    Thank you
    Just information

    When you use this code at the same place in my prog.

    1- The qreport is a the same place with fastreport

    2- what is variable use with conv

    var conv: ????

    Thank you

    Mario
  • gpigpi
    edited 9:15AM
    1. Yes

    2. var conv: TConverterQr2Fr;
  • edited 9:15AM
    Thank you for your help!!

    Just other question I have error

    conv.Target := frReport1;

    frReport1 variable not declare

    and

    FReport.SaveToFile('converted_fromQR.fr3');

    Freport variable not declare

    Thank you

    Mario

  • gpigpi
    edited 9:15AM
    Just replace frxReport1 with real name of your TfrxReport component
  • edited 9:15AM
    Thank you

    I'm ok



    Mario

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.