use two variables to identify a form control
Posted on 2006-04-13
I am not sure if this is easily possible but I am looking for options.
I am trying to identify the name of a label by using a variable.
I have nine labels on my form : label1, label2 ...
I have a loop sorta like this:
dim x = 1
do while not (x=9)
lbl = label (x) --------> here I want the variable lbl to be set to label1 when x = 1... label2 when x =2... and so on.
x = x+1
any suggestions are appreciated.