Manual page count in group band
i'm using group band to set my own page number like this :
var
mypage : extended;
groupband1.afterprint:
begin
mypage := mypage + 1;
memo1.text := vartostr(mypage);
end;
now, how set pagecount for group so my grup pagecount like xx of xx
thanks
var
mypage : extended;
groupband1.afterprint:
begin
mypage := mypage + 1;
memo1.text := vartostr(mypage);
end;
now, how set pagecount for group so my grup pagecount like xx of xx
thanks
Comments
you must use a double pass report (Select Report | Options ... General , Double Pass). In the code you can use:
to check, that you are in the second pass.