Hi, I'm using the grid to display data and upon a double click event the grid will be sorted. The code is as follows:

With MSFlexGrid1
If (.MouseRow = 0 And .Col = 1) Or (.MouseRow = 0 And .Col) = 2 Then
.Sort = 7
Else
End If
End With

I always get an empty first row with these commands. How do I eliminate the empty row?

Thanks