Hi

I'm customising the SalesInvoice report. I only need to display the name and address details on the first page and not on subsequent pages. I have done this by hding the fields in the executesection method of the PageHeader: Invoice.

public void executeSection()
{ if (element.page() != 1)
{
//labels
InvoiceTo.hide();
Branch.hide();
DeliveredTo.hide();


       //fields
       CustInvoiceJour_InvoicingName.hide();
       CustInvoiceJour_InvoicingAddress.hide();
       BranchName.hide();
       BranchAddress.hide();
       CustInvoiceJour_DeliveryName.hide();
       CustInvoiceJour_DeliveryAddress.hide();

}

   super();
}

My problem is that when these fields don't print after the first page, the lines section (SectionGroup: CustInvoiceJour) still appears in the same place rather than moving up the page to fill the space where the name and address details have been hidden. Is there anyway I can position this section group differently on pages after the first page?

Thanks for any advice.
Carol.




Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to