Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Cancel a report

edited June 2002 in General
I am creating a report at runtime. If the user closes the form after the
call to PrintToDevices and before the report is displayed in an TppViewer
on the form, an access violation occurs. I tried to call tppReport's
cancel method from the OnCloseQuery of the form. This causes an access
violation in a different place.

How do I cancel the report?

Thanks.

Comments

This discussion has been closed.