We help IT Professionals succeed at work.
Get Started

Access Query To Count True/False Values

Anthony6890
Anthony6890 asked
on
1,150 Views
Last Modified: 2012-07-01
Hi everyone, I have two tables setup in my access database.  The first one is a case history table.  It lists such columns as Case #, Aging Parents (Yes/No), Energy (Yes/No) and etc.

I then have another table that is a log of the activity that has occurred for each case.  Some cases can have multiple entries.  

When I go to create a query that will sum the number of Aging Parents cases, if there are multiple entries in my case table it will count the same case multiple times for one category- when in all reality it's just the same case.  Does anyone know how I  can sum each column based on each case number and not each entry in my log table?

There is a join between my data table and log table, it's joined by the Case #.
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 15 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