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 > totalPages() is always 0 so I have to use another way. I do not have a > fetch method so I can't use the trick to check if the current record is > the last in the query. > > Does anyone have another idea? > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]