MS Access Pulling value from combobox in where condition using macro builder
I am trying to pull the value the user selects from a combo box in a Where Condition for a macro. The Row Source for the combo box is a table where the first Column is the id numbers and the second Column is the data that the user chose. I have tried both of the below statements with no luck 1) [Query]![value]=[Forms]![Main Menu]![Combo] 2) [Query]![value]=[Forms]![Main Menu]![Combo].[Column](1) Where combo is my combo box The first one I know is pulling the ID number which is not what I want. I have manually entered in a text box and found that if i set up my macro to match whats in the text box it will work correctly. How can I pull whats on the second column instead of the combo box? EDIT The workaround I found was I now instead did an after update on the combo box to fill an invisible textbox, then i instead used that to pull the value I needed. Such that: [Query]![value]=[Forms]![Main Menu]![textBox]
What do I gain from specifying relationships in my database?
Microsoft Access VBA: Button to Filter Report
Trying to pull data from text boxes on a form into a query and out to a table?
How do I find DDE connections and update to OLE connections in Access?
MSAccess - Export Fixed Length Text Records
How confifure ticket printer in ms access
Editing a Form in MS-Accesss
ms access graphic load on subform
Form gets focus when I am using VBA editor
Access file size with SharePoint lists -
Access err 2004 - out of memory
Format Now() to yyyymmdd for date serialization when exporting a PDF
Make MS Access wait a long time/ trigger at a certain time (VBA)
Microsoft Access - Dlookup with multiple criteria from different tables
“Query Too Complex” on a Union between multiple queries
Access is multiplying my query count by 38… why?