subwayman
05-18-2007, 10:39 AM
Newbie question:
I have a form with six rows of textboxes used to enter the results of a race.
Each row has text boxes named 'Lane1name', 'Lane1Position' . . .
I want to process this data in loops so need to refer to the control values indirectly. Something like:
For Lane = 1 to 6
controlname = "Lane" + format(Lane,"#") + "name"
currentlanename = controlname.value
.
.
Next Lane
Anyone got the magic answer?
Thanks in advance.
I have a form with six rows of textboxes used to enter the results of a race.
Each row has text boxes named 'Lane1name', 'Lane1Position' . . .
I want to process this data in loops so need to refer to the control values indirectly. Something like:
For Lane = 1 to 6
controlname = "Lane" + format(Lane,"#") + "name"
currentlanename = controlname.value
.
.
Next Lane
Anyone got the magic answer?
Thanks in advance.