Good morning.
I have a vehicle database in MS Access. Some of tables are VehicleMaster, SectionHistory, DriverHistory etc…
Main fields in VehicleMaster:
VehicleID, Description, RegDate, RegExp, DriverID, and Status etc…
Main fields in DriverHistory: VehicleId, DriverID,StartDate,EndDate.
Main fields in SectionHistory : VehicleID, SectionID,StartDate,EndDate
My object is; If there is a Change in Driver ID in VehicleMaster form, it should ask for the confirmation then if 'YES' it should ask for the Start Date. Then these details should pass to DriverHistory table. The StartDate of the Current Driver should be the EndDate of the previous Driver.
The same logic should be applied for SectionID also. How can I achieve this?
James