html export in background

edited 11:21AM in FastReport 4.0
I Miss something to create a HTML page from my report. But I can't figure it out what exactly.
      frxReport.LoadFromFile(aDirectory + '\' + aValue);
      RptVariables['naam'] := quotedstr(fMyList[Index].naam);
      RptVariables['link'] := quotedstr(fMyList[Index].link);
      FrxReport.Variables.Assign(RptVariables);
      frxReport.PrepareReport(true);
      frxHTMLExport.EmptyLines := true;
      frxHTMLExport.ShowDialog := false;
      frxHTMLExport.ShowProgress := false;
      frxHTMLExport.ReportPath := uGlobal.GetVar('ZoekpadenOutput');
      frxHTMLExport.ExportTitle := 'john.html';
      frxHTMLExport.Print := true;

Is there someone who can help me?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:21AM
    after setting all the export component propertiesproperties
    you mult call
    frxReport.Export(frxHTMLExport1);
  • gpigpi
    edited 11:21AM
    And set frxHTMLExport.FileName

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.