I
Imperator1969
Guest
Hi All
I'm a novice so please bear with me, my vba skills are still in their infancy. I've searched for a solution to my problem but nothing I found quite fits.
I have a form with a text field called txtSiteCode, there are many records attached to each Site Code. Next to this text box I have a button labelled "Select Site Code" that opens a form with a listbox of all Site codes in the DB, this is based on a query. I want to double click an item in the listbox, the listbox form to close, and the initial form to have the txtSiteCode field filled with my selection and the records to be filtered to that Site Code. So basically I'm replacing a find button with a custom find form where all the available entries are visible.
If anyone can help I would be very grateful.
Imperator
I'm a novice so please bear with me, my vba skills are still in their infancy. I've searched for a solution to my problem but nothing I found quite fits.
I have a form with a text field called txtSiteCode, there are many records attached to each Site Code. Next to this text box I have a button labelled "Select Site Code" that opens a form with a listbox of all Site codes in the DB, this is based on a query. I want to double click an item in the listbox, the listbox form to close, and the initial form to have the txtSiteCode field filled with my selection and the records to be filtered to that Site Code. So basically I'm replacing a find button with a custom find form where all the available entries are visible.
If anyone can help I would be very grateful.
Imperator