Have 2 table:
table_total and table_single.

all tables have field Account, Amount and Cod

i need to summ all value in Amount in table_single, based the match/join Account>Account and Cod>Cod and update table_total amount from the realted summ of Amount from table table_single.

Googoling i have see Dsum, is correct? if yes how to via query?

Tks.