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.
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