C
CJ
Hi again Groupies
When the listbox on my form receives the focus, I would like it's first
record to be selected. How do I make this happen with code?
I have tried:
Private Sub lstShopInventory_GotFocus()
Dim rst As DAO.Recordset
Me.Refresh
Set rst = Me.Recordset
rst.GetRows 1
End Sub
....nothing happened....
When the listbox on my form receives the focus, I would like it's first
record to be selected. How do I make this happen with code?
I have tried:
Private Sub lstShopInventory_GotFocus()
Dim rst As DAO.Recordset
Me.Refresh
Set rst = Me.Recordset
rst.GetRows 1
End Sub
....nothing happened....