Hi,
I have a database that tracks various inspection due dates on industrial support equipment. Each piece of equipment has several different inspection cycles (180-day, 365-day, 720-day, etc). Basically what I'm trying to create is a report that will show equipment that is due any of their inspections, that fall under a user-defined date range.
For example, my query looks something like this:
EQUIPMENT ID 180-DAY INSPECTION 365-DAY INSPECTION 720-DAY INSPECTION G1137 29-DEC-12 25-JAN-13 15-JAN-14 G1140 29-DEC-12 27-OCT-12 04-SEP-12 G1141 08-AUG-12 21-AUG-12 09-AUG-12
What I want to do is have the user click on a button to open up a new form. Then, the user will enter in a START DATE and END DATE, and click another button to initiate the query. What I want the query to do is look at ALL the different inspections, and if ANY of the inspection dates for that particular piece of equipment falls within the specified date range, I want that particular piece of equipment (along with all it's inspection dates) to display.
I can get the query set up to do this for one Field at a time, but not multiple ones simultaneously. Any help would be greatly appreciated!