Share via


SubForm Object [Access 2003 VBA Language Reference]

SubForm
Multiple objects

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

Control: Tool:
Control Control

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.

Tip

create the main form and subform with a wizardcreate a subform

Properties | AddColon Property | AutoLabel Property | BorderColor Property | BorderStyle Property | BorderWidth Property | CanGrow Property | CanShrink Property | Controls Property | ControlType Property | DisplayWhen Property | Enabled Property | EventProcPrefix Property | Form Property | Height Property | InSelection Property | IsVisible Property | LabelAlign Property | LabelX Property | LabelY Property | Left Property | LinkChildFields Property | LinkMasterFields Property | Locked Property | Name Property | OldBorderStyle Property | OnEnter Property | OnExit Property | Properties Property | Report Property | Section Property | SourceObject Property | SpecialEffect Property | StatusBarText Property | TabIndex Property | TabStop Property | Tag Property | Top Property | Visible Property | Width Property

Methods | Move Method | Requery Method | SetFocus Method | SizeToFit Method

Events | Enter Event | Exit Event

Parent Objects

Child Objects | Controls Object | Form Object | Properties Object | Report Object

See Also | SubReport Object