ODT Export

edited 2:32AM in FastReport 4.0
Hey,

the ODT Export is not really working, is it?
Everytime I'm doing the export I get a file which is about 11 kb in size and when opening with word I get an error.

Does anybody have a workaround for that?

Ragards...

Oakley

Comments

  • edited 2:32AM
    It works. Attach a sample report (fr3 and fp3) and I'll try to resolve the problem.
  • edited March 2013
    hi all!
    same ODTExport problem on delphi7
    see attached .fr3 and .fp3
    procedure SaveToODT(AFileName: string);
    begin
      frxReport.PrepareReport();
      frxODTExport.OverwritePrompt := true;
      frxODTExport.FileName := AFileName;
      frxODTExport.ShowDialog := false;
      frxReport.Export(frxODTExport);
    end;
    

    regards

    EDIT: frxODTExport declaration class error (was TfrxODFExport, now is TfrxODTExport and it work's)

Leave a Comment