Yes I removed now the report is working but it didn't divide the pages
I tested it, I've selected 9 employees :
it gives 8 in the first page and 1 in the second page
I figured out something :
The report as I told you before is grouped by the Procedure Type
** when I select 18 it gives the perfect solution just for the last procedure type but the first still the same.
** Another note : the page footer doesn't appear in the last page.
NB: You put the page count in the report footer. It's a page count and should be in page footer. Plus, the reason why you couldn't see the page footer on the last page is because the height of your sections were too tall.
I tried too much with the report but without any positives, I think that I've done all what you said.
The code seem doesn't exist !!! when I put the code no effect occurs then removed it and give me the same result : it didn't divide .
Any way I know that I was like a heavy load, and cause some headache for you, I apologize for that.
But honestly your code is amazing, really incredible, I hope I could use it. I thank you very much for your time and ideas, you are a real Master.
I will advise that you follow every single thing that was done on the database I attached. If you miss a little detail it just won't work. In any case, here are some questions:
Are you saying that it doesn't split the records AT ALL? Or it does it but not correctly?
1- Yes no splitting
2- I didn't fix the pgNumbers(pgNum) = 8 problem, I closed the report and opened it again!!! done by itself.
3- I have no other Groups