export as HTML without dialog = error
Hello,
when I use the following code (FR 3.20, Delphi 7), it works good.
frm.frxHTMLExport1.FileName := ExportFile;
frm.frxHTMLExport1.ShowDialog := true;
frm.frxRpt.Export(frm.frxHTMLExport1);
but if I make this change, so that ShowDialog = false...
frm.frxHTMLExport1.FileName := ExportFile;
frm.frxHTMLExport1.ShowDialog := false
frm.frxRpt.Export(frm.frxHTMLExport1);
...then the .nav and .main output files are never created, and my HTML is invalid.
I am using the "all in one directory" option with the html export. Seems there is an error in the fastreport code somewhere, I tried to find it, but could not. any ideas?
thanks
John
when I use the following code (FR 3.20, Delphi 7), it works good.
frm.frxHTMLExport1.FileName := ExportFile;
frm.frxHTMLExport1.ShowDialog := true;
frm.frxRpt.Export(frm.frxHTMLExport1);
but if I make this change, so that ShowDialog = false...
frm.frxHTMLExport1.FileName := ExportFile;
frm.frxHTMLExport1.ShowDialog := false
frm.frxRpt.Export(frm.frxHTMLExport1);
...then the .nav and .main output files are never created, and my HTML is invalid.
I am using the "all in one directory" option with the html export. Seems there is an error in the fastreport code somewhere, I tried to find it, but could not. any ideas?
thanks
John
Comments