I'm using Access 2007 and struggling with DLOOKUP in a query.
There are two tables - PayrollTransactions and RateMaster. They are joined properly. I have tested for this.
My formula is =DLOOKUP("[RateMaster]![Rate]","[RateMaster]","[PayrollTransactions]![TransDate] between [RateMaster]![StartDate] and [RateMaster]![EndDate]")
I am getting the following error message
"The expression you entered as a query parameter produced this error: 'Microsoft Office Access can't find the name 'PayrollTransactions!TransDate' you entered in the expression'."
What am I doing wrong? Can someone please help? Any input would be greatly appreciated - even an alternative approach.