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

Focus in subform prevents scrolling in main form
I want my query to show total sales from separate storefronts
Access - Accessing specific subgroup
Erwin commuity editon and ms-access
Comparing value in Access report field to a query using VBA
MS Access - scan for a key words using a list of key words contained in another table
UNION returns incomplete result
MS-Access using Dlookup to pull results from query into textbox on form
Filtering form results with a combo box in microsoft access
Multi parameter query for tags search
MS Access Data Macro Updated Function Not Case Sensitive - SOLUTION
Access to count records prior to current record
MS Access error: Could not find file “.” when transfering from old SP to SP365
Permissions on Access Web App
Button click event not fired in continous form
Setting and moving to a bookmark

Categories

HOME
openlayers
relative-path
microservices
binary-tree
icloud
yum
portia
slick-slider
vault
node-pdfkit
clearcase-ucm
jsdoc
pugjs
django-cms
reverse-proxy
functional-testing
realex-payments-api
tibco-mdm
angular2-aot
rst2pdf
greendao
typo3-6.2.x
facebook-apps
http-status-code-503
mozilla
environment-modules
sequential
hexo
swift3.0.2
event-driven
libvpx
streamsets
sqlite2
elasticsearch-plugin
spring-security-kerberos
google-datalayer
apache-fop
clean-architecture
feeds
lift-json
dwscript
objective-c-swift-bridge
database-optimization
google-web-starter-kit
storekit
qpid
markojs
master-slave
hover-over
independentsoft
freelancer.com-api
hsv
content-length
kcachegrind
dereference
truevault
formatjs
network-interface
cdt
gulp-less
markers
bundles
cloud-connect
fmod
.aspxauth
excel-2003
mylyn
pygit2
type-equivalence
jquery-knob
libstdc++
ocx
chrono
uiviewanimation-curve
netbeans-6.9
removeclass
mercurial-server
locationlistener
ecl
h.323
jquery-ui-droppable
filtered-index
memory-size
javap
yagni
post-build

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