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

Categories

HOME
arduino-uno
hive
atom-editor
coq
azure-data-factory
drivers
homebrew
hashmap
raspberry-pi
lodash
tizen-web-app
sharepoint-designer
rubygems
angular-ui-bootstrap
onelogin
portia
virtualization
basic
gitpitch
dacpac
volttron
etl
correlation
dosgi
highlight.js
pugjs
ab-testing
sms-gateway
django-cms
textfield
sylius
excel-2007
format-specifiers
smb
sparse-matrix
pepper
bootstrap-material-design
maquette
wtx
atlassian-crucible
delicious-api
r-raster
microsoft-chart-controls
fabric8
javascriptcore
galsim
stringtemplate
vsts-build-task
openoffice.org
wpf-controls
jmonkeyengine
plsql-psp
libvpx
reportbuilder
angularjs-factory
tasker
nomethoderror
arena-simulation
s
sencha-touch-2.3
segment
skeleton-css-boilerplate
menuitem
osx-mavericks
boost-multi-index
mu
tactic
font-size
google-perftools
ifs
pdfclown
minimization
xcb
radtreelist
azure-virtual-network
player
ready-api
ipconfig
design-by-contract
tcpserver
wordml
kcachegrind
tarjans-algorithm
sniffer
inmobi
fscommand
ng-animate
tablelayout
network-interface
cdt
gulp-less
php-5.4
mesa
has-many-through
aqtime
apc
opcache
ora-00911
xamlparseexception
orchardcms-1.7
referrer
trusted
frameset
cascalog
reddot
appendto
datareader
revisions
modelstate
filtered-index
firefox-5
ti-dsp
mtj
procedural-music
spec#
commodore
lzh

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile