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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top