Hi Andre,

a. Create new boolean variable in class decleration.
     
      boolean firstRecord;

b. In the init() method of report :

      firstRecord      = true;

c. In the execute section method of the body:DataSource A

void executeSection()
{
      // you can go to new page but u must control first record.
      if(!firstRecord)
      {
            element.newPage();     
      }
      else
      {
            firstRecord = !firstRecord;
      }

      Super();
     
}

Regards,

Anil Ozay
Software Engineer, Axapta Specialist
MBSCP, MCP

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Andre Klopper
Sent: Tuesday, October 11, 2005 8:16 AM
To: [email protected]
Subject: [development-axapta] Report Page break

Hi,

I'm trying to get areport to work.

I've got report with master and child datasource.

Page Header

Datasource A
    |
    |
    -------- Datasource B (multiple records)

Page Footer

I want to have every record of Datasource A to be on a new page. I just
cant get the page break on the correct place..

Cheers
Andre

[Non-text portions of this message have been removed]







Yahoo! Groups Links










Bu e-posta ve muhtemel eklerinde verilen bilgiler kisiye ozel ve gizlidir. Anadolu Bilisim Hizmetleri A.S. bu mesajin icerigi ve ekleri ile ilgili hicbir hukuki sorumluluk kabul etmez. Yetkili alicilardan degilseniz, bu mesajin herhangi bir sekilde ifsa edilmesi, kullanilmasi, kopyalanmasi, yayilmasi veya mesajda yer alan hususlarla ilgili olarak herhangi bir islem yapilmasi kesinlikle yasaktir. Bu durumda hemen mesajin gondericisini bilgilendiriniz ve mesaji sisteminizden siliniz. Elektronik mesajlar uzerinde yapilmis herhangi bir degisiklik veya sonuclari uzerinde Anadolu Bilisim Hizmetleri A.S.'nin sorumlulugu yoktur. Ayrica, e-posta mesajlarindaki hata ve/veya eksiklikten, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan Sirket olarak sorumluluk kabul etmeyecegimizi de bildiririz.

This e-mail and any information included within any attached document are private and confidential and intended solely for the addressee. Anadolu Bilisim Hizmetleri A.S. does not accept any legal responsibility for the contents of this message and any attached documents. If you are not the intended addressee, it is forbidden to disclose, use, copy, or forward any information within the message or engage in any activity regarding the contents of this message. In such case please notify the sender and delete the message from your system immediately. Anadolu Bilisim Hizmetleri A.S. also denounces any legal responsibility for any amendments made on the electronic message and the outcome of these amendments, as well as any error and/or defect, virus content and any damage that may be given to your system.



[Non-text portions of this message have been removed]





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to