S
sonofroy
I have a query with three tables looking at these fields
[Vehicle Number] [Mileage 1] [Mileage 2]
Mileage 1 is the exact mileage for the said vehicle number
Mileage two is when the vehicle is due for an oil change
I would like to build a query that will tell when Mileage 1 is approx. 500
miles from Mileage 2 (When it would be due for an oil change). What is the
best function to use here. I have tried >=,<=, and Max functions but no luck.
Lastly is it possible to have the query automatically quit and close if it
returns no values?
Thanks
[Vehicle Number] [Mileage 1] [Mileage 2]
Mileage 1 is the exact mileage for the said vehicle number
Mileage two is when the vehicle is due for an oil change
I would like to build a query that will tell when Mileage 1 is approx. 500
miles from Mileage 2 (When it would be due for an oil change). What is the
best function to use here. I have tried >=,<=, and Max functions but no luck.
Lastly is it possible to have the query automatically quit and close if it
returns no values?
Thanks