Board index » delphi » Quick Report Page Number

Quick Report Page Number

I want print page of total into Quick Report 1.1d
sample
Page 1/20
Page 2/20
Thanks Many
Theeratorn.

 

Re:Quick Report Page Number


Quote
Theeratorn Thongprecha <digi...@inrg.co.th> wrote:
>I want print page of total into Quick Report 1.1d
>sample
>Page 1/20
>Page 2/20
>Thanks Many
>Theeratorn.

The only way I have seen so far is to place a calculated field in the
band, attach a handler to its 'on print' event to display a page
counter maintained by calls to the 'on new page' event.

Beware the trap of previewing before printing - the counter needs to
be reset before printing from the preview window!

Other Threads