我用Delphi7+Fastreport2.5做的一个打印程序,由于数据量巨大(54万行),并且列数有100多个,用FastReport打印遇到麻烦!
代码如下:
    mReport:=frRepYdzd;
    WPath:=ExtractFilePath(ParamStr(0));
    mReport.LoadFromFile(WPath + 'frpYdzd\frfYdzd2.frf');
    with mReport do
    begin
      OnObjectClick:=nil;
      OnMouseOverObject:=nil;
      preview:=nil;
    end;
    if mReport.PrepareReport then
      mReport.ShowPreparedReport;我观察了一下内存,发现当生成1400多行的报表时就已经消耗了23M的内存,由此类推,54万行记录怎么可能打的出?请高手帮忙解答!谢谢!