Attached Control

  • Thread starter Thread starter Mary Fetsch
  • Start date Start date
M

Mary Fetsch

In Access 2000, I know you can attach a control (eg, combo box) and its
label. In Visual Basic, if you access an attached label, is there an easy
way to identify the control it's attached to?
 
Use the Parent property of the label:

NameOfAttachedTextBox = Me.LabelControlName.Parent.Name
 
Back
Top