If the names you provided are correct then you just be able to copy and paste this query into the sql window
Code:
SELECT *
FROM [All Grievances]
WHERE nz(Successful,nz(Settled,nz(Failed,nz(Withdrawn,nz(Rejected,nz(Closed))))))<dateadd("yyyy",-2,date())
You originally said
Depending on the state that the "document' is in, there is only 1 date in the row at a time
now you are saying
There is often more than one date in the record, so I go through and delete the older dates so I only have the latest update for what is happening with the document.
so make sure you have deleted all the older dates before running the query.
you originally said
I want to be able to run a simple query to know which ones I can remove from the files and destroy.
which is what the query does. You are now saying
I want the Access Database to add 2 years to that date (which then becomes the date I can destroy the documents)
which is it? The code for your second requirement would be
Code:
SELECT *, dateadd("yyyy",2,nz(Successful,nz(Settled,nz(Failed,nz(Withdrawn,nz(Rejected,nz(Closed))))))) as DateForDestruction
FROM [All Grievances]