K
kevtrucker via AccessMonster.com
Hopefully i am posting this in the correct section.
i have a form that shows vehicle details,from the vehicle table, one of the
fields i need to show the due date for the next inspection, this will be a
calculated field as i need to retrieve the date of the last inspection from a
2nd table that holds the booking details then add 6wks onto that date and
display the result. The main fields in the booking table are as follows,
jobnumber, date, regnumber, mileage, etc. the fields i need to work with from
the vehicle table are regnumber and inspduedate.
Each vehicle is booked in on various occasions for inspections, services, mot
and other jobs, the is a yes/no field to say if it is an inspection.
How do i populate the inspdue field in the vehicles form from the last
inspection carried out in the booking form? The vehicle will have had upto
roughly 8 inspections and i need to know when the last one was.
I hope that makes sense! I am fairly sure i need to use Dmax but cannot find
out how to do it correctly.
Regards
Kevin
i have a form that shows vehicle details,from the vehicle table, one of the
fields i need to show the due date for the next inspection, this will be a
calculated field as i need to retrieve the date of the last inspection from a
2nd table that holds the booking details then add 6wks onto that date and
display the result. The main fields in the booking table are as follows,
jobnumber, date, regnumber, mileage, etc. the fields i need to work with from
the vehicle table are regnumber and inspduedate.
Each vehicle is booked in on various occasions for inspections, services, mot
and other jobs, the is a yes/no field to say if it is an inspection.
How do i populate the inspdue field in the vehicles form from the last
inspection carried out in the booking form? The vehicle will have had upto
roughly 8 inspections and i need to know when the last one was.
I hope that makes sense! I am fairly sure i need to use Dmax but cannot find
out how to do it correctly.
Regards
Kevin