Re: [Axapta-Knowledge-Village] Last Page in Report

2008-02-20 Thread Khalid Akkawi
// element.pagesTotal() fired when you are on the last page value = 0 if( ! element.pagesTotal() ) //reached the last page { //any calculations could be done here , because you are on the last page } //Regards, //Khalid Akkawi Regards, Khalid Akkawi Dynamics AX

Re: [Axapta-Knowledge-Village] Last Page in Report

2007-07-12 Thread V G
Hi Andreas u can use the method element.pagestotal(). It gives the totalpages. Thanks On 7/12/07, Andreas Rudischhauser [EMAIL PROTECTED] wrote: Hi, i need to know in a executesection of a report footer if I am on the last page (to print a sum). How can I achieve this. I found that

Re: [Axapta-Knowledge-Village] Last Page in Report

2007-07-12 Thread V G
sorry it returns 0. look at the SalesConfirm report. Thanks On 7/12/07, Andreas Rudischhauser [EMAIL PROTECTED] wrote: Hi, i need to know in a executesection of a report footer if I am on the last page (to print a sum). How can I achieve this. I found that totalPages() is always 0 so I