aaahhh...tricky...well I'm glad you found the problem...
>Ok, I fixed this problem by setting HighlightStyle to 0 at Clear and back to 2 after Search.
>
>>Are you using the ZAP command, or are you recreating the cursor?
>>
>>>Hi everybody,
>>>
>>>I have a grid on the form. The recordsource for the grid is a cursor, which is created in the Init method of the business object.
>>>
>>>When my form is instantiated, the grid is displayed empty. I also have a button on the form called Clear. When I press that button, I zap the cursor and refresh the grid. At this point there is a blue line displayed in the grid. I have set HighlightStyle to 2 for that grid. Why I have such strange visual effect?
>>>
>>>Thanks in advance.
ICQ 10556 (ya), 254117