>>>I am using a textbox and grid to perform and incremental search on a table:
>>>(interactive change code of textbox)
>>>
>>>select table
>>>set near on
>>>seek(allt(this.value))
>>>thisform.grid1.refresh
>>>
>>>This works great except the record mark does not move to the nearest matching record. How can I get the record mark to move with the search?
>>>Thanks,
>>>Dave
>>
>>Add
>>Thisform.Grid1.Setfocus
>
>I was trying to keep the focus on the textbox until the user as finished typing all their search criteria, but apparently the record mark doesn't show up until the grid gets the focus. Can the same thing be done with a textbox and a listbox where the nearest matching record is highlighted?
>Thanks,
>Dave
You can highlight list item (selected property), and you can highlight grid's row.
Edward Pikman
Independent Consultant