How do I find a last record in a page

I want to suppress a section in all places except last record in a page and last record in the same report. (ie. I will be showing double line in the last record of all pages). Other records will display single line.

How do I do that? Any other suggestions also welcome.

Thanks