I have a Listbox that I would like to set focus to a specific RECORD_ID.
I have a process to where i bring up a form to add a new item to the Listbox an upon returning I would like for the Listbox to go to that specific record so I don't have to scroll down.
This is what I tried to use (on close button)
Private Sub Command4_Click()
Dim P_num As Integer
P_num = Me.ID_Project
DoCmd.Close
Forms![Finance Project Tracking]!List6.Requery 'Requeries the listbox
Forms![Finance Project Tracking]!List6.Selected(P_num) = True
End Sub
Probably need a SetFocus or something
Thanks
Stephen