hunter_lake
New member
- Local time
- Today, 14:45
- Joined
- Feb 26, 2013
- Messages
- 7
hello,
I have a query that I need to look up a fuel rate in a table based on the month and year of the applicable load date.
ActFuel is the table, Rate is a number field in table, FuelDate is a date/time field associated with the rate. LoadDate is a date/time field in the query from another table.
FRate: Dlookup("Rate", "ActFuel", "FuelDate = Month([LoadDate]) AND Year([LoadDate])")
Where am I going wrong?
I have a query that I need to look up a fuel rate in a table based on the month and year of the applicable load date.
ActFuel is the table, Rate is a number field in table, FuelDate is a date/time field associated with the rate. LoadDate is a date/time field in the query from another table.
FRate: Dlookup("Rate", "ActFuel", "FuelDate = Month([LoadDate]) AND Year([LoadDate])")
Where am I going wrong?