Hi
I have a msflexgrid on a form which I populate with a SP......What
I want is to conduct a search and highlight the appropriate row.....my problem is that the RS is highlighted but the flexgrid
does not scroll down and make the selected RS visible...
Hope you can understand!!
![]()
![]()
VB Code:
Private Sub cmdfind_Click() Dim LngColumns As Long Dim LngRows As Long On Error GoTo cmdfind_Click_Error For LngColumns = 0 To MSFlexReview.Cols - 1 For LngRows = 1 To MSFlexReview.Rows - 1 If InStr(MSFlexReview.TextMatrix(LngRows, LngColumns), txtPalletID) Then Call HiglightMSflex(LngRows) End If Next LngRows Next LngColumns Exit Sub cmdfind_Click_Error: Call ModError_log 'All error descriptions written to a error log MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdfind_Click of Form frmReview" End Sub
Thanks for your help
Has anyone any suggetions on how I could accomplish this?
![]()
![]()
![]()




Reply With Quote