How to determine if report has printed using RAP
Hi,
I have a report and I want to use a pass-thru function to update some db
values after the report has printed. I was hoping to use the
OnPrintingComplete event to call the rap pass-thru function but the event
does not appear in the events list on the calc tab. Is there another event I
can use to determine that the report has actually been printed and not just
previewed?
Thanks,
Ray
I have a report and I want to use a pass-thru function to update some db
values after the report has printed. I was hoping to use the
OnPrintingComplete event to call the rap pass-thru function but the event
does not appear in the events list on the calc tab. Is there another event I
can use to determine that the report has actually been printed and not just
previewed?
Thanks,
Ray
This discussion has been closed.
Comments
Try using the Report.AfterPrint event. Something like the following...
procedure ReportAfterPrint;
begin
if Report.PrinterDevice <> nil then
ShowMessage('Printed to Printer');
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
That worked.
Thanks for your help,
Ray