Controls Property [Access 2003 VBA Language Reference]
Returns the Controls collection of a form, subform, report or section.
expression Required. An expression that returns one of the objects in the Applies To list.
Use the Controls property to refer to one of the controls on a form, subform, report, or section within or attached to another control. For example, the first code syntax below returns the number of controls located on Form1. The second references the name of a property within a control.
The Controls property is available only by using Visual Basic .
Applies to | BoundObjectFrame Object | CheckBox Object | ComboBox Object | CommandButton Object | Control Object | CustomControl Object | Form Object | Image Object | ListBox Object | ObjectFrame Object | OptionButton Object | OptionGroup Object | Page Object | Report Object | Section Object | SubForm Object | TextBox Object | ToggleButton Object
See Also | Bound Object Frame Control | Check Box Control (Forms and Reports) | Combo Box Control (Forms) | Command Button Control (Forms) | Image Control (Forms and Reports) | Label Control (Forms and Reports) | List Box Control (Forms) | Option Button Control (Forms and Reports) | Option Group Control (Forms and Reports) | Rectangle Control (Forms and Reports) | Subform/Subreport Control | Text Box Control (Forms and Reports) | Toggle Button Control | Unbound Object Frame Control