Hi,
hmm, yes I think a point is missed.
Can you provide the details of fields used for groups?
Do you have a group on PayNo field? If not, include one.
Then move the details from detail section to the newly created group header while retaining the descending sorting on DocDate.
Suppress the detail section.
Let me know the output.
Thanks,
Raghavendra