Results 1 to 3 of 3
  1. #1
    goakley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    9

    I need to know how many different documents of a certain type an employee has entered

    Hi,
    We enter different types of documents. They have standards that we have to meet based on the type of document. The different types of documents are distinguished by "program" names. I have a table that has the date, the program (many different programs are done in one day), the number of documents entered on that program, the time it took to enter those documents, how many documents were reviewed, and how many errors were found. One employee will have several entries, one day will have several programs.



    employee name
    Date
    program
    volume
    EntryTime
    reviews
    errors

    One of the totals I need is the number of different programs this employee has done. I grouped on "employee name" and chose "count" under program. But the query returns the number of records. The database has 74 entries, but the employee has only done about 10 different programs.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    After reading your post it seems that you may not have a database structure that suits your business. You mention documents but there is nothing defined as Document? Or Document type?? Who does the Reviews?
    Date is a reserved word in Access.
    If you are just starting with this database, it might be a good time to get it structured to support your Business.

    Can you describe to us in clear, plain English WHAT your Business is? We only know what you tell us, so keep it simple. Until readers are familiar with your set up, they can not provide focused comments/advice.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,640
    Do query that selects distinct program for each employee. Can be a GROUP BY or use DISTINCT qualifier.

    Then use that query to build another query that counts the records.

    The two queries can be combined with nesting. Review http://allenbrowne.com/subquery-01.html#Aggregation
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 07-30-2012, 03:26 PM
  2. Replies: 8
    Last Post: 06-06-2012, 12:28 PM
  3. Tool for the distribution of documents
    By hammie_76 in forum Access
    Replies: 1
    Last Post: 03-12-2012, 10:26 PM
  4. Access to merge documents
    By SJames in forum Access
    Replies: 2
    Last Post: 04-25-2011, 09:27 AM
  5. Multiple Mailmerge documents
    By sabbo64 in forum Access
    Replies: 0
    Last Post: 09-05-2009, 04:44 AM

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