jdeking1
Member
hii ,
I have a requirement wherein i have to have the total page # reset at lvl break , i.e if there are 3 orders in a report with 2 ,3 and 5 pages.,
the page numbers should display as 1 of 2 , 2of 2 for Ist order and for second order it should be 1 of 3 ,2 of 3 and 3 of 3 .. , and for 3rd order it should be 1 of 5 ,2 of 5 , 3 of 5, 4 of 5 , 5 of 5.
I tried referring post # 111084 , but what i get is 1 of 5 , 2 of 5 for the Ist order and 1 of 5 , 2of 5 , 3of 5 for the second order and 1 of 5, 2 of 5 ,3 of 5 , 4 of 5 ,5 of 5 with the last order . This is the same case with the set report page number bsfn , i used the logic like this :
in page header
Do section
if var X = 1
call BSFN to reset page number to 1 .
Var X 0
ENDIF
In intialize section for driver section
VAR X = 1.
In End lvl break footer event forlvl break footer section
VAR x =1 .
It simply doesnt work.
appreciate any efforts to help.
thanks,
raj,
[email protected]
E8.12, 8.97 tools release.UNIX.
111084
I have a requirement wherein i have to have the total page # reset at lvl break , i.e if there are 3 orders in a report with 2 ,3 and 5 pages.,
the page numbers should display as 1 of 2 , 2of 2 for Ist order and for second order it should be 1 of 3 ,2 of 3 and 3 of 3 .. , and for 3rd order it should be 1 of 5 ,2 of 5 , 3 of 5, 4 of 5 , 5 of 5.
I tried referring post # 111084 , but what i get is 1 of 5 , 2 of 5 for the Ist order and 1 of 5 , 2of 5 , 3of 5 for the second order and 1 of 5, 2 of 5 ,3 of 5 , 4 of 5 ,5 of 5 with the last order . This is the same case with the set report page number bsfn , i used the logic like this :
in page header
Do section
if var X = 1
call BSFN to reset page number to 1 .
Var X 0
ENDIF
In intialize section for driver section
VAR X = 1.
In End lvl break footer event forlvl break footer section
VAR x =1 .
It simply doesnt work.
appreciate any efforts to help.
thanks,
raj,
[email protected]
E8.12, 8.97 tools release.UNIX.
111084