M
Melinda
I have a Vehicle database with a table for odometer
readings:
tbl_Odometer_Readings
strVehicleID
datMonthEndDate (mm/dd/yyyy)
intOdometerReading
I am trying to write a query to calculate miles driven by
subtracting odometer readings. I can get every month
except January where I have to subtract December from the
prior year. I don't use VBA very much, so if I could get
some help in criteria expression in the query, I would
appreciate it.
Melinda
readings:
tbl_Odometer_Readings
strVehicleID
datMonthEndDate (mm/dd/yyyy)
intOdometerReading
I am trying to write a query to calculate miles driven by
subtracting odometer readings. I can get every month
except January where I have to subtract December from the
prior year. I don't use VBA very much, so if I could get
some help in criteria expression in the query, I would
appreciate it.
Melinda