thisform.text12.value=THISFORM.GRID2.column1.text1.VALUE LOCATE FOR temp.typ= (thisform.text12.value ) ? thisform.text12.value IF !FOUND() select 3&& mytable temp, without select 3 i get error message as cursour cannot update APPEN BLANK with thisform.Grid1 REPLACE temp.typ WITH thisform.text12.value GO top .Recordsource = .Recordsource ENDWITH thisform.grid1.refresh ELSE MESSAGEBOX("found") endifthanks