Secondary Tag

  • Thread starter Thread starter DZ
  • Start date Start date
D

DZ

I am using a tag on controls to flag certain controls for certain
programmatic manipulation.

I need manipulate others groups of controls, some already have tags set.

Is there another way to tag controls so I can have two independent sets of
tags, like a tag2 property
 
You can put multiple values in the Tag property. For instance, you could put
something like

;group1;group3;

and then check whether InStr(Me.NameOfControl.Tag, ";group3;") is greater
than 0.
 
DZ said:
I am using a tag on controls to flag certain controls for certain
programmatic manipulation.

I need manipulate others groups of controls, some already have tags set.

Is there another way to tag controls so I can have two independent sets of
tags, like a tag2 property

If you don't use Access' built-in validation, you can safely make use of a
control's ValidationText property as your 2nd Tag.
 
Back
Top