how can i create a header/detail form ?

how can i create a header/detail form ?

how can i create a header/detail form , like I navigate to one customer at top, and all his payments would show in the detail section. 

_

I need to know if that is possible ??