The search on flexgrid, code which i am using is given below..
issue is its throwing an error while the search didnt return any answer.. my flexgrid required one fixed row which carries the details about the fields..
Dim target_name As String
target_name = InputBox("Enter The Keyword you wish to Search", "Search")
If Len(target_name) = 0 Then Exit Sub
target_name = LCase$(target_name)
Dim r As Integer
Dim c As Integer
Dim boo As Boolean
For r = FlexGrid.Rows - 1 To 1 Step -1
boo = False
For c = 1 To FlexGrid.Cols - 1
If InStr(1, FlexGrid.TextMatrix(r, c), target_name, vbTextCompare) Then
boo = True
If boo = False Then FlexGrid.RemoveItem (r)