Tppsystemvariable.vartype
I use TppsystemVariable to display PageCount and I know I should set
report.PassSetting to psTwoPass, but even so, the page count is still
displayed wrongly. For example, if I print two invoice, the first invoice
has 5 pages and the second invoice has also 5 pages, the page count will be
1 of 5,......, 5 of 5 and then in page 6, it prints as 1 of 5,......, 5 of 5
again.
Why this problem occur and any solution?
Thx!
report.PassSetting to psTwoPass, but even so, the page count is still
displayed wrongly. For example, if I print two invoice, the first invoice
has 5 pages and the second invoice has also 5 pages, the page count will be
1 of 5,......, 5 of 5 and then in page 6, it prints as 1 of 5,......, 5 of 5
again.
Why this problem occur and any solution?
Thx!
This discussion has been closed.
Comments
If you are using groups or section style subreports to separate these
ivnoices, be sure the ResetPageNo property is not set to True. This is a
published property and can be set in the Delphi Object Inspector.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com