Can anyone tell me why MS Access produces #Error for MaxDate in all the rows in this query?
SELECT NAMES.[Name ID], DMax("[Last Update Date]","[XREF]","[Name ID] = " & NAMES.[Name ID]) AS MaxDate
FROM [NAMES] INNER JOIN XREF ON NAMES.[Name ID] = XREF.[Name ID];
When I misspell NAMES.[Name ID], it asks me for a parameter value, so that tells me it is recognizing the criteria field syntax ok. But why no good results?
And when I enter a single, valid ID it does work. For example, "[Name ID] = 'WALKDA01'"
Thanks,
Dave