ms-access


Invalid Syntax using DLookUp


Fiddling around with the DLookUp Function in MS Access and I was pretty confident in what I had written but I guess not since it's yelling at me again... I'm using a DLookUp as a control source for a text box where I'm trying to get the Month from another text box as one of the criteria fields. Hopefully a fresh pair of eyes can point me in the right direction of what's wrong with it? Thanks in advance.
=DLookUp("Format([QA_Overall],'Percent')","tblScorecard","[Audit Month]='"&[Forms]![Copy Of frmScorecard]![txtMonth]&"'" And [Region]=10")
I suspect that this is happening because of the Region Criteria. Try something like the below:
=DLookup("Format([QA_Overall],'Percent')","tblScorecard","[Audit Month]=" & [Forms]![Copy Of frmScorecard]![txtMonth] & " AND [Region] = 10")
Let me know if this helps.
Edit: I have changed the criteria. Try this Version.

Related Links

Reference existing expression
Automatically updated the textbox
Profiler for MSAccess
Access Switchboard Manager: Invalid Procedure Call or Argument
how should this SQL be written?
Data type for currency values in Access
Update top rows in Access table that match condition
Data type in access 2007
How to specify a custom format for a text pattern in Microsoft Access?
Many to Many in Access
MS Access (2010) VBA filter not working on one subform
Using a derived field
How to lock vertical scrollbar in MS Access
Need Help regarding this IIF statement
How to enable 1 user to update the database while allowing others to only read in Microsoft Access?
Operation is not allowed when the object is open

Categories

HOME
java
coq
keras
magnific-popup
plone
angular-material
comparison
paw-app
amazon-ecs
youtube-api-v3
callback
in-app-purchase
uber-api
swagger-ui
upload
adobe-analytics
fancybox-3
spring-kafka
imacros
modx-revolution
google-apps-marketplace
spring-tool-suite
database-replication
lldb
emulator
swiftlint
kryo
visjs
object-detection
cloudhub
functional-testing
mustache.php
status
info.plist
fluentvalidation
framemaker
hexo
overlap
adobe-premiere
swift3.0.2
abstract-class
twitch
dism
elmah
google-closure
nand2tetris
modelmapper
apple-news
parentheses
komodoedit
prolog-setof
boost-multi-index
alphabet
typed-lambda-calculus
nsarray
pdfclown
sqldf
time-and-attendance
jquery-filter
gridpane
httplistener
underscore.js-templating
prettytensor
pickadate
asp.net5
tcpserver
separator
qtableview
pundit
computer-algebra-systems
drawbitmap
cakephp-3.1
tableau-online
event-bubbling
operation
sniffer
bigbluebutton
cdt
file-copying
titanium-modules
responsive-slides
android-radiobutton
hippomocks
braille
transcoding
terminal-services
xsockets.net
file-locking
ora-00911
jquery-mobile-dialog
sqlperformance
jelly
gil
quickdialog
funscript
datawindow
regsvr32
buildr
joyent
xmlspy
pyinotify
jmock
site.master
routedevent
microsoft-virtualization
temporal-database
thread-local-storage

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