Hi, i have a problem with my ssdbgrid in vb6. the task is to find and highlight selected row in the grid.. . . Is there anyone can help me with this problem?..
my code below is to select the specfic records or row but the problem is, my code cannot highlight the row..How can i?Please help me i need it badly...
i = 0
ssdg1.MoveFirst
For i = 1 To ssdg1.Rows
If ssdg1.Columns(" Description").T ext = frmDailyActivit ies.ssdg.Column s "Activity Code").Text Then
ssdg1.SelBookma rks.Add ssdg1.RowBookma rk(i)
Exit For
End If
ssdg1.MoveNext
Next i
my code below is to select the specfic records or row but the problem is, my code cannot highlight the row..How can i?Please help me i need it badly...
i = 0
ssdg1.MoveFirst
For i = 1 To ssdg1.Rows
If ssdg1.Columns(" Description").T ext = frmDailyActivit ies.ssdg.Column s "Activity Code").Text Then
ssdg1.SelBookma rks.Add ssdg1.RowBookma rk(i)
Exit For
End If
ssdg1.MoveNext
Next i
Comment