Error of Memory - FastReport 4.0

Good Afternoon!

Could you please help me.
Sorry errors of english, I'm Brazilian.

When generating a report of system, happen of error and the class "frxClass" on loop it is error of memory.
always happen between pages 250 and 280.

Already updated of component last version but of error more not scram

Comments

  • edited 12:03AM
    Help-me, please?
  • gpigpi
    edited 12:03AM
    Test project with problem based on standart Delphi's components and local database, please?
  • edited 12:03AM
    I'm working with Delphi 2006, Firebird 2.5 as database and Fast Report on verison 4.0
  • gpigpi
    edited 12:03AM
    If you use IBX or FIBPlus for access to FB - you may attach test database and test project here
  • edited 12:03AM
    The problem is FastReport, because running direct in procedure lapped ok, the procedure was fast. I'use IBExpert!
  • edited 12:03AM
    I had this problem in my project with IBX + FR3/FR4 and i solved changing the 'Unidirectional' property of IBQuery components.
    ]constructor TfrxIBXQuery.Create(AOwner: TComponent);
    var
      R: TfrxReport;
    begin
      FQuery := TIBQuery.Create(nil);
      if (AOwner <> nil) then
      begin
        if AOwner is TfrxReportPage then
          R := TfrxReportPage(AOwner).Report
        else if AOwner is TfrxDialogPage then
          R := TfrxDialogPage(AOwner).Report;
        else if AOwner is TfrxDataPage then
          R := TfrxDataPage(AOwner).Report;
        if (R <> nil) and (not R.EngineOptions.DoublePass) then
          FQuery.UniDirectional := True; // Emerson
      end;
      Dataset := FQuery;
      SetDatabase(nil);
      inherited;
    end;
    

Leave a Comment