No problem
First of all have index on character field , you want to search.
Insure form property-rn
put in text field the code like that
if seek(alltrim(this.value),'yourtable','yourindex')
thisform.rn=recno('yourtable')
else
thisform.recno=0
endif
this.parent.grid1.refresh
in Grid refresh
write the following code
SetAll("DynamicBackColor", "IIF(thisform.rn=RECNO('yourtable), RGB(240,233,210), '')", "Column")
Best wishes, Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.