Hilmar,
Another way to do it with out macro substitution...using this method would even allow for methods of the object to be called.
for nField = 1 to 48
oTextBox = eval("thisform.text"+ transform(i))
oTextBox.value = "Value :" + transform(i)
next i
>>Without macro substitution...
>>
>>
>>for FieldNum = 1 to 48
>> STORE FieldNum TO ("ThisForm.Text" + trans(FieldNum)+".Value")
>>next
>>
>
>Interesting - I thought that macro substitution could not be avoided in this case. Thanks for the information.
>
>Hilmar.
Steve Gibson