incorrect page number on printing
I'm trying to fix bugs in an application using ReportBuilder developed by
someone else. I'm not entirely familiar with ReportBuilder but am able to
follow along for the most part.
My question deals with a TppSystemVariable property that's supposed to keep
track of the page numbers upon printing. From the help file, it looks like
I can set the VarType to determine how I want the page info displayed (page
set, page set desc, page count, etc) and it should print out the
information. However, if I print a multi-paged document, I have some
problems. Instead of:
Page 1 of 3
Page 2 of 3
Page 3 of 3
printed for the TppSystemVariable, I get this instead:
Page 1 of 1
Page 2 of 2
Page 3 of 3
As you can see, I'm getting incorrect page set information. The report that
has this SystemVariable has its PassSetting property to psTwoPass. Am I
missing something? Any info will help, thanks.
Kenneth
newsgroup_kwf@yahoo.com
someone else. I'm not entirely familiar with ReportBuilder but am able to
follow along for the most part.
My question deals with a TppSystemVariable property that's supposed to keep
track of the page numbers upon printing. From the help file, it looks like
I can set the VarType to determine how I want the page info displayed (page
set, page set desc, page count, etc) and it should print out the
information. However, if I print a multi-paged document, I have some
problems. Instead of:
Page 1 of 3
Page 2 of 3
Page 3 of 3
printed for the TppSystemVariable, I get this instead:
Page 1 of 1
Page 2 of 2
Page 3 of 3
As you can see, I'm getting incorrect page set information. The report that
has this SystemVariable has its PassSetting property to psTwoPass. Am I
missing something? Any info will help, thanks.
Kenneth
newsgroup_kwf@yahoo.com
This discussion has been closed.
Comments
Which version of ReportBuilder/Delphi are you using? It is difficult for me
to tell what is going on unless I can see the layout of your report. Does
the report have any nested groups? Are the groups set to reset the page
number? Are there any Section style subreports in the report? If you
create a simple report from scratch, does the behavior continue? If so,
please put together a small example app that demonstrates this problem and
send it in .zip format to support@digital-metaphors.com.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com