just to help me, and maybe others, understand:
What is the significance of the random serial numbers?
And these serial numbers are not stored anywhere, correct? You only want them to be generated at the time of printing your report?
Yes I am not storing these serial numbers anywhere. I want to generate at the time of printing this report.
I want o display serial numbers just to indicate how many employees are there in each department.
Try a summary field defined as Count of [any field that cannot be empty], Running count, Restart for each sorted group when sorted by Department.
This is what I was looking for.
Thanks a lot.