Below is a portion of an Access query result I am working with:
Dig ID Address Date Purpose Equipment used
2 131 Frontier 08/08/2015 Main Repair Backhoe
2 Dump Truck
2 Vactor
3 555 Windy Rd 07/04/2016 Valve Repair Backhoe
3 Utility truck
I want to try to capture only year 2015 for my report. Does anyone know how I can write an if statement in Access that will essentially say: If date = 2015 AND if Dig ID is the same as the line above, then I want it in my result.
I tried to GROUP BY Dig ID # but the only line I can see in my report is the single row that has the date.
Thank you for your time & advice.
Dig ID Address Date Purpose Equipment used
2 131 Frontier 08/08/2015 Main Repair Backhoe
2 Dump Truck
2 Vactor
3 555 Windy Rd 07/04/2016 Valve Repair Backhoe
3 Utility truck
I want to try to capture only year 2015 for my report. Does anyone know how I can write an if statement in Access that will essentially say: If date = 2015 AND if Dig ID is the same as the line above, then I want it in my result.
I tried to GROUP BY Dig ID # but the only line I can see in my report is the single row that has the date.
Thank you for your time & advice.