report run time calculation
I want to calculate the report pplist (TppREPORT) processing time. So after
running the report, I can show to the time to the user or act as a control
factor.
What I do:
1. place FStartTime:=now in pplistbeforeprint event.
2. place FEndTime:=now in pplistafterprint event. <<<<----- Wrong
Q: Where should I place the FEndTime in the RB event, which is true for when
I print to screen, file or printer?
Benson
Delphi 5.02, RB 5.5. Chinese Win98
running the report, I can show to the time to the user or act as a control
factor.
What I do:
1. place FStartTime:=now in pplistbeforeprint event.
2. place FEndTime:=now in pplistafterprint event. <<<<----- Wrong
Q: Where should I place the FEndTime in the RB event, which is true for when
I print to screen, file or printer?
Benson
Delphi 5.02, RB 5.5. Chinese Win98
This discussion has been closed.
Comments
depending on your Report.PassSetting property.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
to use are the OnStartFirstPass and OnEndFirstPass.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com