Try
Code:
SELECT * FROM tblYourTable WHERE Arrival_Date = DatePart("yyyy";[Arrival_Date]) As ArrivalYear AND Death_Year = DatePart("yyyy";[Death_Date]) As Death_Year
UNION
SELECT * FROM tblYourTable WHERE Arrival_Date = DatePart("yyyy";[Arrival_Date]) AND [Death_Date]) Is Null;
You might get prompted for two Arrival Dates though. You could work around that by using a form, but someone else may have a better approach.
Last edited by Micron; 04-04-2017 at 09:08 AM.
Reason: added code tags
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.