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

Convert rdb to an ontology
Pass-through Query Ignores incorrect passwords after a successful connection
MS Access MTD/QTD QUERY
Not getting the refresh_token for MS365 Task
Datediff in MsAccess
Listbox show column names of table
<= todays date in the same month i
Need to Automatically Edit Access TextBox in SubForm after SetFocus
Access Services: Filtering on orphaned records with a web query
How to check whether a combobox selection contains specific text or word
Hyperlink to other tables in MS Access
How do I handle the error 2501 when canceling export to PDF?
Show all records in a list box
update calculate field in Table
combo box reference not working in access query criteria
MS-Access 2010 DELETE Query LEFT JOIN

Categories

HOME
ionic-framework
variables
keras
path-finding
google-docs
microservices
icloud
blueprintjs
add
basic
applepay
slurm
slick-slider
elasticsearch-hadoop
kibana-4
facebook-php-sdk
izpack
modelica
ups
designer
jsprit
lombok
pugjs
textfield
introduction
ml
java-3d
tar
uninstall
ping
opentype
jaxb2
primitive
flink-streaming
react-chartjs
google-cloud-endpoints-v2
catel
noraui
fusionpbx
android-browser
cookiecutter-django
dism
avro4s
texmaker
midl
angular2-meteor
outlook-2013
ionicons
recursive-datastructures
snmptrapd
django-scheduler
wdf
sts-springsourcetoolsuite
pcf
holder.js
spim
qtableview
sdhc
t4mvc
metaclass
embedded-code
file-copying
socketexception
code-access-security
heisenbug
datagridviewcolumn
transcoding
centos5
oam
sitemesh
dataservice
flash-builder4.5
plasma
sabredav
e4x
anonymous-methods
broken-links
ocx
genshi
recent-documents
html-input
gamequery
fixed-width
microsoft-virtualization
avatar
simpletest
dbisam

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile