OK then, let's try making the following change to my Table setup:
Table 1: tblLaps
LapID: AutoNumber, Primary Key
LapEngineID: Integer, Index
LapDate: Short Date
LapQty: Integer
Table 2: REMOVE
If you have serial/part numbers on the engines that change each time you replace one, you can use that instead of just a random number. Change LapEngineID from "Integer" to "Text".
Then, to sum up the laps run using a certain engine, use the following Query:
Code:
SELECT SUM([LapQty]) FROM tblLaps WHERE [LapEngineID]=<current engine ID number>
Be sure to change the bolded text to the ID number of the engine you're looking at.
Every time you change the engine, you'll change the Engine ID so your lap count will reset for you automatically.
Note: If you're only ever going to be tracking a single car (and don't care about the driver), this setup will work just fine. If you plan on eventually tracking multiple car/driver/engine combinations however, you'd be better off with a more complex setup that has that capability built in from the start.