Hi arnelgp
That would work if the YEAR field was formatted as number.
Apologies how just before you posted, I updated the question to mention that the YEAR field is formatted as text and I had used the Val function in the query to try and get around that........but the IIF, Max, Val don't seem...