Beforeprint executed twice
Hello,
Is it normal the a "BeforePrint"-event is executed twice when printing from
a preview screen ?
Once when calling Report.Print (devicetype=screen), and once when clicking
the printer-button on the screen ?
kind regards,
Dirk Janssens.
Is it normal the a "BeforePrint"-event is executed twice when printing from
a preview screen ?
Once when calling Report.Print (devicetype=screen), and once when clicking
the printer-button on the screen ?
kind regards,
Dirk Janssens.
This discussion has been closed.
Comments
Yes, many of the events in ReportBuilder (with the exception of the OnCalc
event of the TppVariable) will fire more than once during report generation.
This is why it is never a good idea to make numerical calculations inside
any RB events other than the OnCalc.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com