I have posted this question before and still cannot find the proper format. I figured I would try one more time with what I hope is more clarity on what I need. I wrote this database years ago and have forgotten a lot since I have not done programming for so long.
I have a detailed database to track every item about my pickup truck. Fuel use, maintenance, issues, years owned and more. Specifically, I need the following:
I have a checkbox that if checked means the truck had a regeneration of the of the diesel emissions. The checkbox is labeled "Regeneration". I want to create a report that ONLY lists a data entry on the report if the checkbox is checked.
I want to take the starting mileage called "Mileage this trip" and subtract this from the ending mileage called "Ending Mileage" ONLY if the checkbox is checked. I need a printout of all the regenerations only that the truck has done.
In my mind, If Regeneration is true then Ending Mileage minus Mileage this trip will show in the printout but only for a Regeneration. To this date, I have had 179 regenerations in 7 years so that is the only information I need on this report.
Thank you.