SubForm Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

SubForm
Aa156399.space(en-us,office.10).gifAa156399.parchild(en-us,office.10).gif

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

Control: Tool:
Aa156399.t-subfrm(en-us,office.10).gif Aa156399.subfrmrp(en-us,office.10).gif

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.

Tip   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.