Hi All,
I am having trouble with the syntax for a total. I have a select query that is grouped, then i use the this query in the recordsource for a report, also adding 2 other tables to it. all tied together the sql source is this:
SELECT hoursvbill.WorkDescription, hoursvbill.BillableHours, hoursvbill.DateWorked, hoursvbill.[Client #], hoursvbill.[Company Name], hoursvbill.BillableHours, [Time Cards].TimeCardID, Employees.FirstName, Employees.BillingRate, ([BillingRate]*[BillableHours]) AS HourlyBill
FROM Employees INNER JOIN (hoursvbill INNER JOIN [Time Cards] ON hoursvbill.TimeCardID = [Time Cards].TimeCardID) ON Employees.EmployeeID = [Time Cards].EmployeeID;
I have the total for each record, but now i need to total each client. ANy ideas?
Thanks
Raven
I am having trouble with the syntax for a total. I have a select query that is grouped, then i use the this query in the recordsource for a report, also adding 2 other tables to it. all tied together the sql source is this:
SELECT hoursvbill.WorkDescription, hoursvbill.BillableHours, hoursvbill.DateWorked, hoursvbill.[Client #], hoursvbill.[Company Name], hoursvbill.BillableHours, [Time Cards].TimeCardID, Employees.FirstName, Employees.BillingRate, ([BillingRate]*[BillableHours]) AS HourlyBill
FROM Employees INNER JOIN (hoursvbill INNER JOIN [Time Cards] ON hoursvbill.TimeCardID = [Time Cards].TimeCardID) ON Employees.EmployeeID = [Time Cards].EmployeeID;
I have the total for each record, but now i need to total each client. ANy ideas?
Thanks
Raven