In a query each record includes “BatchID” , “Month”, “year”. There are a number of records for each BatchID, what I want to do is add a field to each record showing the min year in that batch. I have tried everything I can think of or so far find on the net with out success. My starting point was;
Dmin(“Year”,”tblRevonlySelYear”,”BatchID='” & BatchID & “‘”)
That returns an error.
I think I could build a query that returned the min year for each batch then use that to build an update query to put the min year into each record in the first query, that seems very cumbersome and I was hoping there may be a more efficient way.
thanks for any suggestion.
Peter