SubForm Object

Access Developer Reference

This object corresponds to a subform control. The subform control embeds a form in a form.

Remarks

Control: Tool:
Control Control
Bb214257.vs_note(en-us,office.12).gif  Note
For example, you can use a form with a subform to present one-to-many relationships, such as one product category with the items that fall into that category. In this case, the main form can display the category ID, name, and description; the subform can display the available products in that category.

Instead of creating the main form, and then adding the subform control to it, you can simultaneously create the main form and subform with a wizard . You can also create a subform by dragging an existing form or report from the Database window to the main form.

See Also