S
Stein_68
created a form "Switchboard" with a listbox that queries a table named
"Detail" pulling two fields, ID (primary key) and Company Name. The listbox
does not show the primary key, only the company name. Would like the user(s)
to select a company from the listbox and (i) highlight the selected company
on a single click and (ii) using ID or Company Name jump to another existing
form "Input" that contains all of the data from the "Detail" table. Where i
stand thus far...
Single click does nothing - first record in listbox remains highlighted no
matter which company you single click on (haven't been able to find/create
appropriate code in Click)
Double click opens the "Input" form correctly but only opens the first
highlighted record in the list box. Current code in Dblclick:
Dim stDocName As String
stDocName = "Input"
DoCmd.OpenForm stDocName, , , "ID = " & ID.Value
Help!
"Detail" pulling two fields, ID (primary key) and Company Name. The listbox
does not show the primary key, only the company name. Would like the user(s)
to select a company from the listbox and (i) highlight the selected company
on a single click and (ii) using ID or Company Name jump to another existing
form "Input" that contains all of the data from the "Detail" table. Where i
stand thus far...
Single click does nothing - first record in listbox remains highlighted no
matter which company you single click on (haven't been able to find/create
appropriate code in Click)
Double click opens the "Input" form correctly but only opens the first
highlighted record in the list box. Current code in Dblclick:
Dim stDocName As String
stDocName = "Input"
DoCmd.OpenForm stDocName, , , "ID = " & ID.Value
Help!