Increment on the header part of the report based on any group value.

Hi All,

Can anybody help me in displaying Page number or any integer value which increases by 1 each time where the pallet id changes in the header part.

As per my report , I am showing all the items for a pallet in the detail part & the pallet Id is displayed on the header part.

So only when the palletid on the header part changes,the page number should increase by value 1.