Hi!
I am using Access 2000, and I am trying to do a query that is totalling an attribute. I.E. I have an entry that has several numerical entries spread over a range of dates, I want to be fit to just retain the total of these figures between selected dates. The problem is that in the query builder when I try to sum this entity I get a returned result of the correct figure only its Multiplied by 4. my result should be 485 but is returned 1940.
Below is the three entries which I want to total in my query,
Date CallsAmount
05/12/03 246
05/12/03 139
05/12/03 100
Below I have a copy of the SQL
SELECT Clients.CompanyName, Projects.ProjectName, Projects.ProjectStartup, Projects.ProjectLeads, Projects.ProjectCall, Projects.ProjectTotalBillingEstimate, [Time Card Expenses].CallsAmount
FROM (Clients INNER JOIN (Projects INNER JOIN [Time Card Expenses] ON Projects.ProjectID = [Time Card Expenses].ProjectID) ON Clients.ClientID = Projects.ClientID) INNER JOIN [Time Card Hours] ON Projects.ProjectID = [Time Card Hours].ProjectID
GROUP BY Clients.CompanyName, Projects.ProjectName, Projects.ProjectStartup, Projects.ProjectLeads, Projects.ProjectCall, Projects.ProjectTotalBillingEstimate, [Time Card Expenses].CallsAmount, [Time Card Hours].DateWorked
HAVING (((Clients.CompanyName)=[Enter Clients Name]) AND (([Time Card Hours].DateWorked) Between [Enter Start Date] And [Enter Ending Date]));
If you need anymore information just drop me a line
I am using Access 2000, and I am trying to do a query that is totalling an attribute. I.E. I have an entry that has several numerical entries spread over a range of dates, I want to be fit to just retain the total of these figures between selected dates. The problem is that in the query builder when I try to sum this entity I get a returned result of the correct figure only its Multiplied by 4. my result should be 485 but is returned 1940.
Below is the three entries which I want to total in my query,
Date CallsAmount
05/12/03 246
05/12/03 139
05/12/03 100
Below I have a copy of the SQL
SELECT Clients.CompanyName, Projects.ProjectName, Projects.ProjectStartup, Projects.ProjectLeads, Projects.ProjectCall, Projects.ProjectTotalBillingEstimate, [Time Card Expenses].CallsAmount
FROM (Clients INNER JOIN (Projects INNER JOIN [Time Card Expenses] ON Projects.ProjectID = [Time Card Expenses].ProjectID) ON Clients.ClientID = Projects.ClientID) INNER JOIN [Time Card Hours] ON Projects.ProjectID = [Time Card Hours].ProjectID
GROUP BY Clients.CompanyName, Projects.ProjectName, Projects.ProjectStartup, Projects.ProjectLeads, Projects.ProjectCall, Projects.ProjectTotalBillingEstimate, [Time Card Expenses].CallsAmount, [Time Card Hours].DateWorked
HAVING (((Clients.CompanyName)=[Enter Clients Name]) AND (([Time Card Hours].DateWorked) Between [Enter Start Date] And [Enter Ending Date]));
If you need anymore information just drop me a line