We help IT Professionals succeed at work.
Get Started

How to group all dates together in MS Access 2010 query

dorianit asked
Last Modified: 2014-05-01
I have the following query in Access 2010:

SELECT Issue.EID, Issue.Closed, Issue.Created, Kana.Completed, Issue.DateTime
FROM Issue INNER JOIN Kana ON (Issue.DateTime = Kana.DateCompleted) AND (Issue.EID = Kana.EID)
GROUP BY Issue.EID, Issue.Closed, Issue.Created, Kana.Completed, Issue.DateTime
HAVING (((Issue.EID)="E107746") AND ((Issue.DateTime)>=#3/20/2014# And (Issue.DateTime)<#4/4/2014#));

The result is shows up as:

EID            Closed      Created      Completed      DateTime
E107746      0            0               8                      2014-03-20
E107746      0            0               37                      2014-03-24
E107746      0            0              44                      2014-03-27
E107746      0            0              46                      2014-03-26
E107746      0            0              58                      2014-03-21
E107746      1            0              103                      2014-03-25
E107746      30            17               28                       2014-03-28
E107746      34             7              209                      2014-04-03
E107746      36            20              81                      2014-04-01
E107746      36            20             165                      2014-04-02

I would like the result to be one line that shows the total (closed,created,completed) for the date range.  How would I do this?
Watch Question
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE