I haven't got it working
I have now used
SELECT t.MatterId, t.TransCode, Sum(t.AmountTotal*[Transaction Types].[ValueType]) AS TotPayments
FROM [Transaction Types] RIGHT JOIN Transactions AS t ON [Transaction Types].TransCode = t.TransCode
WHERE (((t.TransCode) In (101,104,109,199,914,915)))...