If loCurrentPk.Equals(PKValue) Then '-- Remove the current row and navigate to the next row loRow = Me.CurrentRow loRow.Delete() loRow.AcceptChanges() '-- Decrement the index and navigate Me._CurrentRowIndex -= 1 Me.Navigate(BusinessNavigationDirection.Next) Else '-- Find the row to delete If Me.SeekToPrimaryKey(PKValue) Then '-- Remove the row loRow = Me.CurrentRow loRow.Delete() loRow.AcceptChanges() '-- Move back to the original row Me.SeekToPrimaryKey(loCurrentPk) End If End If