Change page number at runtime
Hello,
I want to reset page number to "1" each time my GroupHeader is printed (FormNewPage property is true).
Is it possible in the OnBeforePrintEvent ? How ?
Thanks in advance !
Sylvain.
I want to reset page number to "1" each time my GroupHeader is printed (FormNewPage property is true).
Is it possible in the OnBeforePrintEvent ? How ?
Thanks in advance !
Sylvain.
Comments
create your own variable and set it to 1 in group header obp event
ie.
mypagenum := 1;
and use it to display page number in a memo.
you will have to do your own inc(mypagenum) when needed
the same goes for tracking totalpages for group condition.
regards