I'm working on a vehicle maintenance DB. On the frmServiceEntry one of the required entry field is ServiceMileage. I'm trying to validate that the mileage enter here is >= to the last mileage update for the vehicle. Mileage update information comes from two different sources, from tblService to which the afore mentioned form frmServiceEntry is bound, and from the table tblCurrentMileage. (Once a month the current mileage of every vehicle is entered in this table.) I then have a query qryMileageMax that gives me the highest mileage for each vehicle from two other queries, qryServiceMileageMax and qryCurrentMileageMax. I also have a subform sfrmMileageMax on my entry form that displays the last recorded mileage for the vehicle, the link Child/Master fields being VehicleID. It's a great visual feed back, but unfortunately that doesn't keep the user from entering a mileage lower than the last recorded mileage.
I'm not sure how to go about this and hoping the more experienced can guide me. Your help is always much appreciated.
I'm not sure how to go about this and hoping the more experienced can guide me. Your help is always much appreciated.