my problem is that I have a an inventory of 20 engines that are being tested and i need to keep an accurate account of service hours between each overhaul . I have tried a number of time to work out a query ( i'm a new user of databases ) and cant get my list to update each engine with it the number of hrs . ie all 20 engines could run 24hrs ( or any other hrs ) but if one fails or there is a problem that engine starts at 0 hrs after an overhaul . this is repeated so eventually all 20 engines could show different running totals every time i put in 24 hrs or 16 hrs or whatever until it is overhauled . The number of hours inputed each session will be the same for each engine only it's hours between overhaul will change .
I have written all my database to take care of overhauls reports spares etc but this is really killing me . Has anyone any idea or seen any code that will do this for me .
Thx