Current location - Quotes Website - Personality signature - How does access use code to get a text box in Access? The name of the associated label.
How does access use code to get a text box in Access? The name of the associated label.
Traverse judgment (judge whether the label. Parent.name is the name of your text box), for example:

Dim? ctr? As? control

For what? Every one? ctr? Are you online? Me. control

What if? Type the name (ctr)? =? "Label"? And then what? ctr。 Parents. Name? =? Text box. Name? then

MsgBox? ctr。 name

Quit for

End? if

Next, I wish you success.