Need help of ReportSmith!

Hi!

    I write a program to print a report. When the button is pressed,
the report is printed. Everything seems ok. But when I close the
application, there's a protection error. I don't know how it happens.
Following is the program to print the report. Is there something
wrong?

procedure TTgeca1Form.BitBtn9Click(Sender: TObject);
begin
  Tgeca1Report.InitialValues.Add('@ENGSELECT=<'+FilterCondition+'>');
  Tgeca1Report.Run;
  while Tgeca1Report.Print do;
  Tgeca1Report.CloseReport(False);
end;

-Tan