在报表设计阶段(designreport),预览页面导出为excel没有问题,但是showreport时,预览导出就出现如下错误:“raised exception class EAccessViolation with message access violation at address xxxx”的错误。请问是什么原因呢?代码应该没有问题吧:
frReport1.LoadFromFile('1.frf');
frReport1.ShowReport;