Hi, I'm new to Crystal Reports and I'm having trouble numbering the pages. Could you help me?

I have a report grouped by Department and Division (those are the names of the fields in the database). I need the pages to be numbered from 1 to N for each Division. In other words, when the Division value changes the page number will restart back to 1. How can I achieve it?

I still can't understand how the Page N of N special field works. I have placed it in the page header and it always shows Page 1 of 1, even though the report has 1088 pages.

I thank you in advance for your help.

P.S. Something important is that after each change in Division a page break is executed.