When you create a subform, you can design it to be displayed in Datasheet view only; in Form view only as a single or continuous form; or in either view. A subform displayed as a single or continuous form can be simple or it can be customized extensively to include a header, footer, and so on.
Subforms: What they are and how they work
Make a continuous subform look like a datasheet that displays a header and footer