Property for direct Export
Hello there
We have a application that uses Fastreport 4.7 for report Design. Do you now if it's possible to set a property to direct export in a *.csv - File without doing a print preview and selecting the option "Export".
Thx for your ideas.
Greetings from Switzerland.
Patrick
We have a application that uses Fastreport 4.7 for report Design. Do you now if it's possible to set a property to direct export in a *.csv - File without doing a print preview and selecting the option "Export".
Thx for your ideas.
Greetings from Switzerland.
Patrick
Comments
frxreport1.preparereport;
frxReport1.Export(frxCSVExport1);
The export filter component must be available
(you must put it on the form of your project)
and be adjusted correctly.
frxCsv := TfrxCsvExport.Create(nil);
frxCsv.Separator := #09;
frxCsv.FilterDesc := 'TAB file (*.tab)|*.tab';
frxRpt.PrepareReport();
frxRpt.Export(frxCsv);