I Have a query that select Account number and Sum Debit and Credit and I want uptade this information to another tabel with the same filed.
I use update query with this cod below, but the system sent an error that for this you have to use update query however I used upedate query.
I use update query with this cod below, but the system sent an error that for this you have to use update query however I used upedate query.
Code:
UPDATE [Detail Account], SumJournal
SET SumJournal.SumOfCredit = [Detail Account]![Debit],
SumJournal.SumOfDebit = [Detail Account]![Credit]
WHERE (([SumJournal]![AccCod] Like [Detail Account]![DetailCod]));
Comment