code for frxBuiltinExports

edited 6:03AM in FastReport 4.0
According to the FastReports help, frxReport/IfrxBuiltinExports has a function called "ExportToXLS". This is the text from the help file: "These methods implemented as additional interface of TfrxReport co-class". However, the .pas file (Delphi 2009) (called frxClass) does not have this function as part of frxReport.

Is this only available for .NET? Is it possible for someone to provide the code for this, if so I also need "ExportToPDF".


Thank you!

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:03AM
    The info you are refering to is for .net
    what product are you trying to work with
    Fr4.# for delphi ?
  • edited 6:03AM
    gordk wrote: »
    The info you are refering to is for .net
    what product are you trying to work with
    Fr4.# for delphi ?


    Using FastReport v. 4.8.41. The goal is to export to Excel and PDF.

    Thank you!
  • gordkgordk St.Catherines On. Canada.
    edited 6:03AM
    you drop the exportcomponent from the delphi palette on to your underlying delphi form
    then the exports are available in the preview menu bar.
    if you are trying to run from code no dialogs
    typicaly
    frxreport1.loadfromfile('path&filename");
    frxreport1.preparereport;
    //set all properties for export filter component here
    frxpdfexport1.propertyname:= value;
    frxreport1.export(frxpdfexport1);
    fr4 programmers manual, users manual, and developers manual, are located on the page where the demo version can be downloaded.

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.