code to print on the very last page

seraph5602
seraph5602 Member Posts: 6
hi everyone,
can anyone help me print a statement from the body section of a report on the very last page only.

thanks...

Comments

  • Savatage
    Savatage Member Posts: 7,142
    what do you mean by "statement from the body section"

    Do you want to add something to the report footer? or add a seperate page with some info?
  • ara3n
    ara3n Member Posts: 9,258
    Well the issue is that you need to know what the last page is. So write a recursive function in the report that calls itself and runs and returns what page is the last page, and add your body section to print on that page only
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • DenSter
    DenSter Member Posts: 8,307
    Use a footer section that is tied to the last dataitem, that will print it right at the end of the report. If you need any data in there that is dependent on any records, use global variables to store that data.