Secondary Tag

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
 
D

Douglas J. Steele

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.
 
S

Stuart McCall

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.
 

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

Top