Would SET EXACT OFF be required?
>>>Problem: I have a txt field and a grid; I type into txt field and seek on each key stroke. I need to highlight in the grid each found record as the typing continues in the txt field. How do I highlight the grid after each keystroke and return to the txt field for next keystroke?
>>>
>>>I handle the keystroke in the txt field using the method "interactiveChange".
>>>
>>>Ron
>>
>>A simple implementation might be like this :
>>-Add a custom property to form named nCurrec with value 0
>>-Form.init
>>this.myGrid.SetAll('DynamicBackColor','iif(reno(this.recordsource)=thisform.nCurrec,0xFFFF00,0xFFFFFF)','Column')
>>
>>-Text.Interactivechange
>>=seek(TRIM(this.value),thisform.mygrid.recordsource,'searchtag')
>>thisform.nCurrec = recno(thisform.mygrid.recordsource)
>>thisform.mygrid.refresh
>>
>>Cetin
>
>For an enhanced implementation check FoxyClasses (signature link).
>Cetin
Imagination is more important than knowledge