When we execute report how can we calculate the total no. of pages of that report so that we can change the page no. like
<<total page no.>> of <<page no.>> or (ex.->10 of 2)
Thats g8
But will you please tell me what is the meaning of
Customer.count/29;
in the following code
MESSAGE('%1',Customer.COUNT);
Txt000 := ' of ';
if CurrReport.PAGENO = 2 Then Begin
flag +=1;
if Flag=1 then Begin
r := Customer.Count/29;//CountRec;
q := Customer.Count Div 29;//CountRec;
if r > 0 then
q := q+1;
message('%1',Txt000);
Txt000 := Txt000 + Format(q);
message('%1',Txt000);
End;
End;
Comments
But will you please tell me what is the meaning of
Customer.count/29;
in the following code