Results 1 to 1 of 1
  1. #1
    akdatabaser is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Apr 2016
    Posts
    1

    Access Web App: Trouble with counting.

    Okay, so I have a main table that records task data.






    It looks up one of these departments.




    I then entered this bogus data, so I can do some testing.




    What I really want to do is create a datasheet that shows the number of tasks for each dept, and then also include the number of employees that performed tasks in each dept. This is my first query and results are just fine. Sorry, just now noticed that is is not being counted correctly. Not sure why.




    But this is the second/sub query where I would have assumed that the employees would have been counted and I have no idea what is going on...





    Ultimately, what I really want to see is basically this:

    Department Count of Task A Count of Task B Count of Employees
    Dept 1 2 3 2
    Dept 2 1 0 1
    Dept 3 1 1 1




    If this were SQL I would just count the tasks for each department and then count the distinct employee numbers, but since this is access web app, I don't really have that option. So, how do I go about achieving this seemingly simple task?

    My google searches on everything related to queries and criteria have been very disappointing. There is not a lot of support for access web app.


    Thanks so much!
    Last edited by akdatabaser; 04-01-2016 at 12:00 PM. Reason: Just noticed that my count was wrong in query 1

Please reply to this thread with any new information or opinions.

Similar Threads

  1. SQL Query Trouble in Access
    By aglenn in forum Queries
    Replies: 4
    Last Post: 12-18-2013, 06:51 PM
  2. Help with Access - Having trouble with joins
    By steelcurtain11 in forum Access
    Replies: 2
    Last Post: 02-07-2013, 01:41 AM
  3. Trouble counting items in a report
    By Walt Stypinski in forum Access
    Replies: 2
    Last Post: 06-13-2011, 08:21 PM
  4. New to Access- help with counting rows
    By cip315 in forum Access
    Replies: 5
    Last Post: 03-19-2010, 09:35 AM
  5. Replies: 0
    Last Post: 08-16-2008, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums