I have a dbase recording invoice totals for goods and services for vendors. I would like to create a query which provides the total invoice amount for each vendor by date and goods or service.
The below is what I currently have but when I add the invoice date it is not adding the invoice totals
SELECT tblVendor.strVendorName, tblTransactions.[Invoice Type], Sum(tblTransactions.curInvoiceTotal) AS SumOfcurInvoiceTotal
FROM tblVendor INNER JOIN tblTransactions ON tblVendor.strVendorsID = tblTransactions.strVendorID
GROUP BY tblVendor.strVendorName, tblTransactions.[Invoice Type];
Basically I want the total invoice amount for a vendor for a given period and indicating the type whether good or service