Printing Page Number on Page1OnBeforePrint
hi ,
in my report i create a tfrxPageFooter with some TfrxMemoView on it in script in Page1OnBeforePrint event ,
just i have trouble printing page numbers and total pagenumbers on this tfrxPageFooter ,
probably because in Page1OnBeforePrint the page and totalpages vars are not set.
D5 , dataset report , i tried with DoublePass = true .
thanks
Mau
in my report i create a tfrxPageFooter with some TfrxMemoView on it in script in Page1OnBeforePrint event ,
just i have trouble printing page numbers and total pagenumbers on this tfrxPageFooter ,
probably because in Page1OnBeforePrint the page and totalpages vars are not set.
D5 , dataset report , i tried with DoublePass = true .
thanks
Mau
Comments
the <page> var in the empty begin end. block is still 0 ,
for the 'onStart' event of the report you mean onBeforePrint ? ,
i didn't found onStart event on the TfrxReport Component .
Mau
right --> MemoPage.text := '[page]'
wrong --> MemoPage.memo.Add(inttostr(<page>))
[img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Mau[/img]