‎2006 Dec 05 2:04 PM
hi to all
help me in this issue,
i am working on cust statements i had a problem in that
when there are less no of inovices the footer text is coming correctly in first page but whrn there a many invoices the records are going to second page and the footer text is coming in both the pages. but i want it as it as when there are less records footer should print in first page and when the records are more it should print in second page how can i do it.
thanks in advance
kiran kumar
‎2006 Dec 05 2:09 PM
In the footer text elemet write a if statement as below
if &page& = 0
ur code...
else.
ur code..
endif...
‎2006 Dec 05 2:24 PM
Hi kiran,
U can place ur footer window in last page, so that u will get required o/p.
Try this,
When you are on your window, in the third tab 'Conditions', you can try option : 'Only after End of Main Window '.
the window footer must be declared in both pages FIRST and NEXT
within window footer do:
/: IF &NEXTPAGE& = 0
HERE GOES YOUR CODE
/: ENDIF
Note that the key here is &NEXTPAGE& = 0
Regards,
Kumar
‎2006 Dec 05 2:46 PM
hi kumar,
i have done it
my first page is first and next is next
and in footer i kept as u said if &nextpage& = 0
but it is not working.
thanks in advance
kiran kumar.