Query using the current record and the previous one

L

Luc Dansereau

Hi,

I have a table containing those fields:
VehiculeNo
Date
Odometer
QuantityFuel

I want to do a query that will count the millage made by each truck between
two date in order to obtain those results:
VehiculeNo
Date
Odometer
QuantityFuel
LastOdometer
Distance (Odomoter - LastOdometer)

Can someone help me on that one ?

Thanks a lot

Luc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top