Do you mean set the section height in the executesection method? How do I do this through code?
Regards, Carol.
--- In [EMAIL PROTECTED], "Preston A. Larimer" <[EMAIL PROTECTED]> wrote:
Carol, set the section height to be zero when you don't want itit,
displayed, or if there are still a few elements you are displaying
just shorten the section height.the
-Preston
-----Original Message-----
From: carolkilduff [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] How to move up section on SalesInvoice
Hi
I'm customising the SalesInvoice report. I only need to display
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.appears
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
in the same place rather than moving up the page to fill the space where the name and address details have been hidden. Is thereanyway
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.

