>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?
>
Several ways:
STORE lnComRec TO ('thisform.'+tcComboName+'.listindex')
or
Thisform.&tcComboname..listindex = lnComRec
>Thanks PP