Grouping records of subform on Record Templates/Summaries

Grouping records of subform on Record Templates/Summaries

Is there a way tu group results from a subform on a record template/summary?

Let's say subform has columns A, B, C, D. I want to group records of the subform on the record template/summary by column A and to show them just like when you group them on a report.

Regards, 

Antonio Contreras