>I'm still having trouble with my incremental search. I can't get the grid to highlight the row that has the nearest matching record. It will highlight the record when it gets the focus but not while the user types the search string. I've tried using dynamicbackcolor but it will not accept a variable:
>
>(interactive change of textbox)
>select cards
>set near on
>seek(allt(this.value))
>lcval = cards.card_id
>thisform.grid1.column1.dynamicbackcolor =;
> "iif(cards.card_id = lcval,rgb(0,0,255),rgb(255,255,255))"
>thisform.grid1.refresh()
>
>I get an error message with this??
>
>Any more ideas?
>Dave
thisform.grid1.column1.dynamicbackcolor =;
"iif(cards.card_id ="+alltrim(str(lcval))+",rgb(0,0,255),rgb(255,255,255))"
Edward Pikman
Independent Consultant