2 Replies Latest reply on May 9, 2012 11:11 AM by davidsan

    How to calculate total page numbers in a report in FM Go 12?

    davidsan

      I have a complex report created from different parts of the database.

       

      This report is meant for printing. In previous versions of FileMaker Go, printing was not supported. In FM Go12, the report can now be printed correctly.

       

      The report is rendered in FileMaker Go as a PDF and it looks exactly as it does on Mac or Windows. There is only one issue I cannot find a work around.

       

      At the end of each page there is the page numbering in this format: 1/12, 2/12, 3/12, etc. where 1,2,3... is the current page and 12 is how many pages the report has. I find how many pages the document has using the well-known trick in preview mode: go to the last page, save it in a global variable, then add the global variable to each page.

       

      http://help.filemaker.com/app/answers/detail/a_id/3629/kw/number%20pages%20from

       

      FileMaker Go 12 does not support preview mode so the script does not work on the device.

       

      Could anyone please help me to achieve a similar functionality in FM Go 12?