How to stop /cancel quickReport after SQLQuery.Active is done

We are using Delphi 5.0 so the QuickReport might be 3.0.

Anyway, the code set up the SQL stmt in SQLQuery then set it to active.

The result set could be very large and our application would allow user to
cancel out.
In the event that user cancel during or after SQLQuery.Active is done, is
that a way to stop / cancel 'QuickReport / TppViewer' to generate the

Thanks for any useful comments.