Looking to use and average value to update a set of records but get an error when trying to execute.
When I view the query it works fine but will not update.
Query:
UPDATE xTargets INNER JOIN Output_CV_Total ON xTargets.PERSONCCAT = Output_CV_Total.PERSONCCAT SET Output_CV_Total.FYTarget = Avg([xtargets].[TOTAL])
WHERE (((Output_CV_Total.AREA)='Total'));
Error:
You tried to execute a query that does not include the specified expression 'FTTarget' as part of an agregate function.
Any help much appreicated
When I view the query it works fine but will not update.
Query:
UPDATE xTargets INNER JOIN Output_CV_Total ON xTargets.PERSONCCAT = Output_CV_Total.PERSONCCAT SET Output_CV_Total.FYTarget = Avg([xtargets].[TOTAL])
WHERE (((Output_CV_Total.AREA)='Total'));
Error:
You tried to execute a query that does not include the specified expression 'FTTarget' as part of an agregate function.
Any help much appreicated