ClaraBarton
Registered User.
- Local time
- Today, 14:23
- Joined
- Oct 14, 2019
- Messages
- 623
From everything I've read, if you need calculations, and you create them and then create a left join, the recordset should be updatable. This one isn't. Is there a way I can fix it so it is?
This is the transaction query I'd like to have updateable:
This is qryCatTotals:
This is the transaction query I'd like to have updateable:
Code:
SELECT tblTransactions.fAccountID, tblTransactions.TransactionID, tblTransactions.CkDate, tblTransactions.Num, tblTransactions.Payee, tblTransactions.Cleared, tblTransactions.Debit, tblTransactions.Credit, tblTransactions.QuickenNo, tblTransactions.Modified, qryCatTotals.CatAmount, qryCatTotals.CkAmount, qryCatTotals.Remaining
FROM tblTransactions LEFT JOIN qryCatTotals ON tblTransactions.TransactionID = qryCatTotals.fTransactionID;
Code:
SELECT tblCheckCat.fTransactionID, Sum(tblCheckCat.Debit) AS CatDebit, Sum(tblCheckCat.Credit) AS CatCredit, [CatCredit]-[Catdebit] AS CatAmount, Sum(tblTransactions.Debit) AS CKDebit, Sum(tblTransactions.Credit) AS CkCredit, [CkCredit]-[CKDebit] AS CkAmount, ([CkAmount]-[CatAmount]) AS Remaining
FROM tblTransactions LEFT JOIN tblCheckCat ON tblTransactions.TransactionID = tblCheckCat.fTransactionID
GROUP BY tblCheckCat.fTransactionID;
Last edited: