Here is the SQL statement:
DELETE Member_Info.MemberID, Member_Info.LastName, Member_Info.FirstName, Member_Info.Expired, Member_Info.Deceased, Dues.DuesYear
FROM Member_Info INNER JOIN Dues ON Member_Info.[MemberID] = Dues.[MemberID]
WHERE (((Member_Info.Expired)=True) AND ((Member_Info.Deceased)=False) AND ((Dues.DuesYear)<Year(Date())-2));
In this case I want the records from both the MemberInfo table and the Dues table to be deleted which from my reading is why I have the Cascade Delete Related Records box checked in the relationship.
In my case we don't keep any records past 2 years from the current year. I have an update query which updates anyone who is past due to expired and we keep that for 2 years from the current year. Once 3 full years pass the person would have to reapply with
our national headquarters.
Hope this answers your response statement.
Thank you