I have a msflex grid with 4000 rows attached to a data source. It is sorted by an Id field descending. I have written a binary search which finds any row in the grid based on an Id value entered by a user. The binary search finds the proper record and highlights the proper row. My grid is large enough to show about 15 records at a time. If the grid row found is not in the 15 rows currently showing I do not see the highlighted line. I must use the vertical scroll bar to get to the proper row.

How do I get the grid to automatically move so when I find my desired row, it appears at the top of the grid or somewhere in the 15 rows I am showing on the form...Thanks..