[RESOLVED] Populate textboxes from flexgrid via arrow keys
With the help of others, I was able to use the up or down arrow key to navigate through my database via a Datagrid.
But now, I would like to use a Flexgrid instead, but the code does not work for the flexgrid like it did for the datagrid.
Here is the code:
When user sets focus on a record in the flexgrid and this populates the textboxes.
vb Code:
Private Sub msfg3U_Click()
Fillfields
End Sub
code that worked for the datagrid to move up and down through the records and populated the textboxes as it went along.
vb Code:
Private Sub msfg3U_KeyUp(KeyCode As Integer, Shift As Integer)
msfg3U_Click
End Sub
Re: Populate textboxes from flexgrid via arrow keys
Put the call to FillFields in the event that occurs when the row/col changes... I think it is _RowColChange , or perhaps _SelChange
Re: Populate textboxes from flexgrid via arrow keys
Nice call Si!!
It was the SelChange.
vb Code:
Private Sub msfg3U_SelChange()
msfg3U_Click
End Sub
It works like a charm.
Thank You!!