Use the "Footer" section. That will execute only when the report is finished.
Steeve... --- In Axapta-Knowledge-Village@yahoogroups.com, "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] >