PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD] print pageno / page total
[WD] print pageno / page total
Iniciado por guest, 18,jun. 2016 13:51 - 2 respuestas
Publicado el 18,junio 2016 - 13:51
Hi ,

I have a report which contain multiple reports. each report has it own group break. I had added pageno/ page total reset based on the group break.

now I need to also add the pageno /pagetotal based on whole batch.

using iNestedHeaderFooter(True) , I manage to print pageno/pagetotal based on each sub report .
because of this , the main report footer won't appear until at end of the report.

another issue is when put pageno/pagetotal at the main report , the count only begin after all sub reports generated.

based on my guest this is the flow

Main report Header
Report1 header
Report1 footer
Report2 header
Report2 footer
Main Report Footer


any trick to solve this?
Publicado el 18,junio 2016 - 13:57
what I hope is to print pageno in this format at page footer

Page : 1 / 2 / 1 / 100

First is page no based on group break
second is pagetotal base on group break
third is page no based on batch
fourth is page total based on batch

is this possible?
Publicado el 20,junio 2016 - 14:23
Hi

not automatically, no...

But before all this automatic page numbering existed, we would solve that kind of problem by printing twice. The first time to count the pages, the second to print with the pages number information.

if that is really necessary, I suppose you could do something similar

Best regards