>Hey
>
>This refresh is good but the name of the combo is in
>the VAR.
>
>LOCATE FOR cnoproduit = tcNoprod
>lnComRec = recno()
>if FOUND( )
> Thisform.cbo1.listindex = lnComRec
>ENDIF
>
>I try this
>
> Thisform.&tcComboname.listindex = lnComRec
>How can i do this?
>
>Thanks PP
You can use 2 periods '.' after the variable name you are trying to "macroize":
Thisform.&tcComboname..listindex = lnComRec