K
Keith E. Beake
I'm writing a database to track a rather large fleet of
vehicles and service equipment. The top level table
consists of constants; ie. VehicleID, year, make, model,
etc. The next table linked by VehicleID is the workorders
containing pertinent information including dates of
service, received, etc. and the most important is the
odometer reading. This will track hours or mileage
depending on the equipment type. I have a select query
that will take the first two in a descending order (last
time in for service and time prior) and I'm trying to
figure out a way to calculate and analyze the difference
of the two, being compared by a seperate table that will
determine based from VehicleTypeID if it's in or out of
the service window for routine maintanence. Can anyone
advise me on how to effectively do this?
Thanks in advance,
Keith E. Beake
kbeake@cox(remove).(forspam)net
vehicles and service equipment. The top level table
consists of constants; ie. VehicleID, year, make, model,
etc. The next table linked by VehicleID is the workorders
containing pertinent information including dates of
service, received, etc. and the most important is the
odometer reading. This will track hours or mileage
depending on the equipment type. I have a select query
that will take the first two in a descending order (last
time in for service and time prior) and I'm trying to
figure out a way to calculate and analyze the difference
of the two, being compared by a seperate table that will
determine based from VehicleTypeID if it's in or out of
the service window for routine maintanence. Can anyone
advise me on how to effectively do this?
Thanks in advance,
Keith E. Beake
kbeake@cox(remove).(forspam)net