Results 1 to 3 of 3
  1. #1
    johnson8809 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2015
    Posts
    11

    Adding a Count function to current select statement


    I am trying to add a count of the associates that are absent from an attendance table. I can't seem to get it to work. Anyone have any ideas. It would be greatly apprciated. Thank you. The statement that I have is below. Minus the lame count function that I tried......


    SELECT tblAttdncInfo.SbmtName AS MGR, tblAttdncInfo.AssocName,
    tblAttdncInfo.Absence AS Reason, tblAttdncInfo.Dte
    FROM tblAttdncInfo
    WHERE (((tblAttdncInfo.Dte)=Date()))
    ORDER BY tblAttdncInfo.AssocName;

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    w3schools SQL has several tutorials on SQL

    see Count

  3. #3
    johnson8809 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2015
    Posts
    11
    Thank you.

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

Similar Threads

  1. count # for current week
    By slimjen in forum Reports
    Replies: 9
    Last Post: 08-21-2014, 02:05 PM
  2. Replies: 7
    Last Post: 12-15-2013, 08:42 PM
  3. COUNT Group Count Records COUNT FUNCTION
    By PMCOFFEY in forum Access
    Replies: 9
    Last Post: 11-09-2012, 09:40 PM
  4. Replies: 7
    Last Post: 05-02-2012, 08:04 AM
  5. count and switch function in same select query
    By sandlucky in forum Queries
    Replies: 2
    Last Post: 04-08-2011, 11:16 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