Opening a form based on a record selected in a list box
So now that I have the list box working correctly I am needing the ability to select a record in the list box, double click it and a form displaying everything associated with the record is displayed.
I have a unique ID; Hardware_ID and the form I need it to open is frm_Inventory
The name of the list box is HWB_LIST
Thanks
John
DatabasesMicrosoft AccessVBA
Last Comment
John Sheehy
8/22/2022 - Mon
Fabrice Lambert
Hi,
Use the double click event of your list box:
Private Sub HWB_LIST_DblClick(Cancel As Integer) Select Case HWB_LIST.Value '// ect ect ... End SelectEnd Sub
Use the double click event of your list box:
Open in new window