ms-access
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]
Related Links
“Could not find installable ISAM” using OLEDB
Will a “String” table save space within my Access database?
hide left pane of datasheet view in subform
MS Access - running 12-month total
Google oauth2 from an MS Access 2016 application
Installing Access runtime 2016 along with Office 365
Access - Cannot Clear Multi-Value Field Via Form Control
Add autonumber field to query that returns more than 5000 records
Does table's OrderBy property affect Performance
How to get correct week number in Access
'Like' statement not producing any results
MS Access 2013 initiate screencapture tool, save image as jpg, add directly into attachment field
Condition to open a specific report
Unique lab entry populated across multiple tabs
Microsoft Access: Set a global variable on table open, use it as criteria for queries, and clear it on table close
Insert data in MS Access 2013 through groovy