|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
How to select a particular Row in MSH Flex Grid Control at Runtime.
How to select a particular Row in MSH Flex Grid Control at Runtime .and what is the bookmark property of flex grid control.i want to select the particular row which letter i type in the text box and row shud be selected automatically in the flexgrid.
|
|
#2
|
|||
|
|||
|
if u use access as your database, try this following code :
Code:
Private Sub fg1_Click()
With fg1
.Col = 0 'start from column 1
txtIdUser.Text = .Text
End With
Set db = OpenDatabase(App.Path + "\yourDbName.mdb")
Set rs = db.OpenRecordset("YourTableName")
If (rs.RecordCount >= 1) Then
Do While Not rs.EOF
If rs.Fields("Index") = txtIdUser.Text Then
txtIdUser.Text = rs.Fields("Index")
txtUserName.Text = rs.Fields("Name")
Exit Do
End If
rs.MoveNext
Loop
End If
End Sub
OK. all for the best. |
![]() |
| Viewing: Tutorialized Forums > Desktop Programming > Visual Basic > How to select a particular Row in MSH Flex Grid Control at Runtime. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|