I have Two tables in my access database table1(Employee Name,Emp Number,Emp Salary) table2(Employee Name,Emp Number,Total Salary) these tables are related together using \"Emp
Query, which contains aggregated functions or uses queries with aggregated functions is not updateable. So, you can update the data in existing table using:
Query with domain function may look like this:
UPDATE Result
SET Result.[Total Salary] = DSum("Emp Salary", "Emp", "Employee Name='" & Replace(Result.EmpName, "'", "''") & _
"' and [Emp Number]=" & Result.[Emp Number])
WHERE Result.[EmpName] = 'Mohan'
AND Result.[Emp Number] = 1;