>Hi All
> I have 3 textboxes placed in a form. Each box is named line1,line2 and line3. Now depending on the value of a variable I recieve I want to reference that particular textbox.
>
>x= 3
>
>thisform.line(x).value = "Whatever"
>
>Is this possible and if so how?
>
>thankyou
FOR lnTxtBox = 1 TO 3
loTxtBox = EVALUATE("THISFORM.Line" + ALLTRIM(STR(lnTxtBox)))
loTxtBox.Value = "Whatever"
ENDFOR
Steve