>Hello
>
>x='1'
>
>Why this code works:
>z='txtYear'+(x)
>*Thisform.&z..VALUE = 1111
>
>and This does not:
>Thisform.('txtYear'+(x)).VALUE = 1111
>
>Thanks
() are used for name expressions (ie: use (cFilename)). Well also this would work :
with evaluate("Thisform.txtYear"+x)
.Value = 1111
endwith
Cetin