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

access iif query do nothing when false
ms access vba - set the value off the ID Field on from load
MS Access table subform refresh
Total the sum in Row in MS Access
MS Access 2007 adjacency list tree validate against circular reference
Populate Text Boxes with Combo Box
Run an Access 2003 Application in Access 2007 [closed]
automatically select a value in a combobox in Access
MS Access Report Layout
Howto Validate External Data Source before Importing in MS Access
How to retrieve only the alphanumeric from a string in SQL/Access?
Access DB : displaying the Form search results into a report
My textbox is not displaying the data from my combobox selection
How to cluster MS Access 2010 objects by type in menu?
How to use the ALL or ANY operator in your query in Access 2010
Set flag for main report in subreport

Categories

HOME
hook
server
mediawiki
dot
sqlite-net-extensions
spring-jdbc
tizen-web-app
microservices
sqlite3
dxl
pivotal-cloud-foundry
virtualization
kentor-authservices
resize
remote-access
fortumo
angular-ui
emulator
claims-based-identity
opennlp
buildbot
underflow
intel-pin
info.plist
bootstrap-material-design
lightswitch-2013
calibre
wpf-controls
ios5
twitch
xenforo
turbogears
scorm
xml-documentation
azure-application-gateway
pango
logparser
alphabet
dotnetzip
nativeapplication
composite-key
yt-project
savon
url-masking
django-debug-toolbar
testng-dataprovider
master-slave
hexdump
photobucket
uid
javax.sound.midi
r-tree
thredds
pundit
responsive-images
inmobi
truevault
javax.mail
formatjs
project-planning
typeof
fluentautomation
yorick
marmalade
mechanize-ruby
floating-point-precision
access-rights
dataadapter
jquery-mobile-dialog
bitsharp
coderush
gnu-prolog
gnustep
locate
sql-server-profiler
imac
paster
icanhaz.js
dbal
ncqrs
database-management
backcolor
privilege
premature-optimization
nerddinner
3gp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App