> DoDefault() > ThisForm.GridName.Refresh()>I use the DoDefault() because my IncSearch code is located in this method of my sub-class which I assume is the same for you.
ThisForm.LockScreen = .t. ThisForm.GridName.SetFocus() && This will mark the record. do while thisform.gridname.relativerow>1 && This will scroll the selected thisform.gridname.doscroll(1) && record to the first row in grid enddo && (this is optional code). This.SetFocus() ThisForm.LockScreen = .f.I am writing this from memory (I do not have my code at my disposal right now). But this is general idea of what to do.