I read the article, made a few changes and I'm still getting the same message. I separated the sub query into it's own query, included a DISTINCT statement, and changed MIN to DMIN. But, I'm still getting the same error. The queries are below.
PrimaryTable
Code:
UPDATE PrimaryTable, TempQuery
SET PrimaryTable.MINValue = TempQuery.MINValue
WHERE (((PrimaryTable.UniqueID=TempQuery.UniqueID))
TempQuery
Code:
SELECT DISTINCT PrimaryTable.UniqueID, DMIN(SourceData.Value, "SourceData") AS MINValue
FROM SourceData INNER JOIN PrimaryTable ON SourceData.UniqueID=PrimaryData.UniqueID
WHERE PrimaryData.UniqueID IS NULL
I thought creating this temp table/query would resolve the issue, since it's seperating the actions and the DISTINCT/DMIN is not allowing repeats of UNIQUE IDs