Dear Filemaker friends

I've been searching online how to do this and I'm partially there, and would really love some help.

In my layout I've created a footer in which I need to show "Page x of y" where x is the number of the page and y is the total number of pages being printed out.

I've figured out that for x I type in {{PageNumber}}. The only trouble with this is that the result is in £s, and not in plain numbers! How do I stop it being in currency?

As for y, I haven't figured out how to do that at all. I haven't any experience with scripts at all, by the way. One forum thread suggested I create a field called PageCount, but I don't really know where to take it from there

Thanks in advance for any kind soul who comes to my rescue.

Best wishes

Michelle

Using the script I provided, it set the variable $$pages to the page number of the last page of the report.

You would have {{pagenumber}} of $$pages