Page numbering for each record.
Hi,
Is it possible to have paging done on each record basic? i.e. if a
record (master file) span 4 pages, then the first page is Page 1 of 4 (line
the PageSetDesc setting for the System Variable), Page 2of 4 and so on. If
the next record occupied only one page then it will be Page 1 of 1.
Jonathan Liaw
Is it possible to have paging done on each record basic? i.e. if a
record (master file) span 4 pages, then the first page is Page 1 of 4 (line
the PageSetDesc setting for the System Variable), Page 2of 4 and so on. If
the next record occupied only one page then it will be Page 1 of 1.
Jonathan Liaw
This discussion has been closed.
Comments
Try using the DetailBand.BeforePrint event to know when the master record
has changed if you are using a Master-Detail report then check the page
number (Report.PageNo) and update the value of a TppVariable component
elsewhere in your report. If you are using Groups, simply use the
GroupHeader.BeforePrint event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am not sure I can get the number of page for particular record as I
mentioned in my earlier question. You see, for each record, it might take
several page and I need to know the total number of page for this record so
that I can print the page number in the format like 'page 1 of 4'. Where
could I get this '4'?
Jonathan
Are you using groups? If so, you can use the Report.PageCount property to
discover how many pages are in the current group if you have your report set
to psTwoPass.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com