I have the following formula, which won't work, I have experimented with the syntax with no joy
Unit_Cost: DLookUp("[Unit_Cost]","tblTariff","[Tariff_Name] = " & [Tariff] & " And [Tariff_Date] <= #" & [Month_Pres] & "#")
Tariff_Name & Tariff are TEXT
Tariff_Date & Month_Pres are Date
Any suggestions appreciated
Thanks
Geoff
Unit_Cost: DLookUp("[Unit_Cost]","tblTariff","[Tariff_Name] = " & [Tariff] & " And [Tariff_Date] <= #" & [Month_Pres] & "#")
Tariff_Name & Tariff are TEXT
Tariff_Date & Month_Pres are Date
Any suggestions appreciated
Thanks
Geoff