Page X of Y ... again
I need to put "Page X of Y" on an agenda report. (And on other things but if I can do it here I can generalize.) I keep trying to do it and give up. This time I will prevail!
I have followed answer ID 3629 on the FM support page.
1) I have a global number field called _g_Page Count Agenda Report. I have triple checked it.
2) I have "Page ## of <<_g_Page Count Agenda Report>>" on the layout header and in the footer.
3) I have a script called "Page Count Agenda Report"
Go to Layout [Agenda Report]
Enter Preview Mode 
Go to Record/Request/Page [Last]
Set Field [Agenda Report; Get ( Page Number)]
Go to Record/Request/Page [First]
Pause/Resume Script [indefinitely]
Enter Browse Mode 
Set Field [_g_Page Count Agenda Report]
Go to Layout [original layout]
4) It doesn't work... The ## is correct but page 2 says "Page 2 of" and never enters Y
What step did I miss?