TfrPrintTable and Export to TXT or XLS
Hi,
How can I export report using FRExports from frPrintTable ?? When I try use something like this : frPrintTable1.Report.ExportTo(frTextExport1,SaveDialog1.FileName);
I get empty txt file :-( Can you help me ??
best regards
Moskw@
How can I export report using FRExports from frPrintTable ?? When I try use something like this : frPrintTable1.Report.ExportTo(frTextExport1,SaveDialog1.FileName);
I get empty txt file :-( Can you help me ??
best regards
Moskw@
Comments
call dialog first and pass name to filenameparam.
regards
I write it in beter format:
frPrintTable1.Report.ExportTo(frTextExport1,'C:\test.txt');
it's beter ?? I get file test.txt but its empty (0kb).
best regards Moskw@
procedure TForm1.Button1Click(Sender: TObject);
begin
frprinttable1.BuildReport;
frPrintTable1.Report.PrepareReport;
frPrintTable1.Report.ExportTo(frTextExport1,'C:\test.txt');
end;
regards
thanks i forget about frprinttable1.BuildReport; :-)
best regards Moskw@