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.
How to get rid of the navigation pane?
ACCESS - calculating prices
Create a query from two tables, one with items in several columns, the other with its corresponding values
microsoft access executable form
ACCESS: How to use compare German date time in access Query
Is there a way to set up an ODBC DSN to an Access accdc backend database?
Comma separating text in field in MS Access 2016 Query
Changing Fields in Access won't show change in Visual Studio 2015
Access re-execute query when I try to close it
MS access how to make footer for only front page
VBA Userform Path/File Access Error - Error 75
UNC-linked data in Access MDB is read-only
Stop Access from Auto assigning Datatypes
Validate password against its username in Access
SQL Update with 0 if no match
VB6 application and a protected access database