I am attempting to add a page break after each vendor in my report.
My report data sources are
InventTrans > PurchTable > PurchLine
InventDim
I want to throw a new page whenever there is a change in the InventTrans.CustVendAC.
I have added the code below to the Body section of my report but it does not work.
Can anyone help me please ?
public void executeSection()
{
If (InventTrans.CustVendAC != InventTrans.CustVendAC)
element.newPage();
super();
}