I have a Dlookup formula in an Access query that I am using to return the rate to be used based on the payment date in the same query.
I have a separate query containing interest rates over different date ranges per the below.
For some reason the formula works but doesn't return the correct Interest Rates, it is just returning random incorrect rates from the interest rate query.
The formula I am using is
Interest Rate: DLookUp("[Rate]","Interest Rates Query","#" & Format([Payment Date],"dd-mm-yyyy") & "# between [Interest Rates Query]![Date From] And [Interest Rates Query]![Date To]")
I would greatly appreciate your help!
Thanks