Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

BoundObjectFrame.Controls Property (Access)

Returns the Controls collection of a form, subform, report or section. Read-only Controls.

expression .Controls

expression A variable that represents a BoundObjectFrame object.

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.

Forms("Form1").Controls.Count 
 
Forms("Form1").Controls("Textbox1").Properties(5).Name
Show:
© 2015 Microsoft