Hi,
I added in my subform about 20 fields, and I want to change the tag property of that label to match the name of it's field.
Is there a way to do it via a code instead of manually doing it one by one?
Here is what I use but doesnt seems to work:
Any help is appreciated. Thanks
I added in my subform about 20 fields, and I want to change the tag property of that label to match the name of it's field.
Is there a way to do it via a code instead of manually doing it one by one?
Here is what I use but doesnt seems to work:
Code:
Dim c As Access.Control
For Each c In Me.Form
c.Tag = c.Caption
Next c
Any help is appreciated. Thanks