TfrExportFilter *sFilter;
sFilter = new TfrExportFilter(this);
frOLEExcelExport1->OpenExcelAfterExport;
frOLEExcelExport1->ShowModal();
frReport1->LoadFromFile("test1.frf");
frReport1->PrepareReport();
frReport1->ExportTo(sFilter, "export.xls");
delete sFilter;
我用了以上代码,是我乱写的,但是导出的文件大小为0字节。请问是什么原因?该如何写代码?另外怎么弹出保存对话框?