>>>>Does it mean that grid record pointer should not move until exact occurence found?
>>>
>>>It moves as you type, e.g. you typed K and it positiones on the first record starting with K, you added O and it positiones on the record starting with KO, etc.
>>
>>Thank you. Could you tell me now what was wrong with my 'solution'?
>
>Add trim() and it should be fine
>Seek trim(this.value) in mycursor
>thisform.mygrid.setfocus
>this.setfocus
>NB! This requires SET EXACT OFF.
No, it works with SET EXACT ON, SET NEAR ON, SET ORDER TO etc., and I like to use Seek() instead of Seek. :::)))
Edward Pikman
Independent Consultant