i am working on Goods issue script. In my script there 2 pages. For printing the header for items i have taken a new window from the second page onwards.The item header is printing in all the pages from the second pages onwards. But if there is no item data in the lsat page then also its printing the header. How to supress the header if there is no data.