Page numbering in a group of records
Hi,
I have been borwsing newsgroups for several hours but couln't find any
answer to my problem. I have a report that has several groups, one is
also group of invoice identificator. User can print one invoice at time
or select some invoices and print them all together. Since an invoice
can be long one page or more pages I need to print current page number
of total invoice page count:
grp LocationId
grp invoiceId
ID=1, 1 page of invoice ... page 1 of 1
ID=3, 2 pages, page 1 of 2
page 2 of 2
ID=4, 1 page of invoice ... page 1 of 1
ID=5, 3 pages of invoice ... page 1 of 3, page 2 of 3, page 3 of 3
Any ideas, maybe some code example?
I am using ReportBuilder 15.02, Delphi XE.
Best regards,
Goran Brumen
AUDAX d.o.o.
I have been borwsing newsgroups for several hours but couln't find any
answer to my problem. I have a report that has several groups, one is
also group of invoice identificator. User can print one invoice at time
or select some invoices and print them all together. Since an invoice
can be long one page or more pages I need to print current page number
of total invoice page count:
grp LocationId
grp invoiceId
ID=1, 1 page of invoice ... page 1 of 1
ID=3, 2 pages, page 1 of 2
page 2 of 2
ID=4, 1 page of invoice ... page 1 of 1
ID=5, 3 pages of invoice ... page 1 of 3, page 2 of 3, page 3 of 3
Any ideas, maybe some code example?
I am using ReportBuilder 15.02, Delphi XE.
Best regards,
Goran Brumen
AUDAX d.o.o.
This discussion has been closed.
Comments
Create a Group on ID. Set group NewPage and ResetPageNo to True. Use a
SystemVariable with VarType set to vtPageSetDesc
This is a vary common requirement. It is covered in the Developers Guide,
demos, tutorials etc. These materials are installed to the Public Document
directory in an RBuider folder.
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
thank You and please excuse me for this question. Of course it is
totaly basic but after not working with RB for several months I have
completely forgot where to look. I found those options and made it work.
Thank You and best regards,
Goran