2007 Dec 12 1:54 PM
Hi friends, this is very urgent,, plz help me.
I am checking the condition IF &NEXT-PAGE& = 0 in the MAIN window. but if there is no NEXT PAGE also its showing the next page as 2. the Value of the &NEXT-PAGE& is only changing in the footer Window. But I need to check it in the Main window as well. could anybody suggest me.
Regards,
Rajesh
2007 Dec 12 1:58 PM
Hi Rajesh,
Check once by providing BOTTOM...ENDBOTTOM control command in the MAIN WINDOW.
/: BOTTOM
: &NEXT-PAGE&
/: ENDBOTTOM
Thanks,
Vinay
2007 Dec 12 1:58 PM
Hi Rajesh,
Check once by providing BOTTOM...ENDBOTTOM control command in the MAIN WINDOW.
/: BOTTOM
: &NEXT-PAGE&
/: ENDBOTTOM
Thanks,
Vinay
2007 Dec 12 2:08 PM
Hi Vinay, Thanks for your reply,
I checked with bottom and endbottom. But its not working.
could you give me anyother solution.
Regards,
Rajesh
2007 Dec 12 2:33 PM
Hi Rajesh,
&NEXTPAGE& symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
Thanks,
Vinay
2007 Dec 12 2:29 PM
hi Rajesh,
what is your exact requirement? Probably there is other way than &NEXTPAGE&
ec