I am printing a smartforms for which i am having a header list in 1 windoe and item list in 1 window.
The header liss contains the Purchase requisition nos. So if i am having say 3 items for a single PR nos then my smart form should print the header once and then the item data for 3 items, again when the PR nos changes then the smartform should print the header data again and then the item data.
So to summerzise the header data should be printed only once for all the items under that pr and a new header shuld be printed when the PR nos changes.
Can you please help me in designing the code for this.