Results 1 to 2 of 2
  1. #1
    cap.zadi is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    How to calculate?

    Hey,

    I have table with following information:

    tblEmpSMInfo (100 emp list)

    EmpID (ID)
    EmpName (Name)
    SSize (Shoe Size like 41,42,43)
    SType (Normal, Low Cut, Long)
    SGNormal (Safety Golves Normal) Yes/No
    SGSpecial
    SMNormal
    SMSpecial
    EarPlug


    when we select a employee so we assign the shoe size he have and type of shoe as per designation. then check box either he need those Saftey materials or not.

    so how to calculate from this in a query:



    Size wise total qty?
    By Type QTY?
    How many normal golves we required? (calculate from check box)


    so please advise?

    thanks

    zee

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Try this

    Code:
    SELECT tblEmpSMInfo.SMNormal, Count(tblEmpSMInfo.SMNormal) AS CountOfSMNormal
    FROM tblEmpSMInfo
    GROUP BY tblEmpSMInfo.SMNormal;

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

Similar Threads

  1. Calculate time
    By funkygoorilla in forum Access
    Replies: 19
    Last Post: 08-25-2011, 09:34 PM
  2. calculate value from two tables
    By victor in forum Programming
    Replies: 3
    Last Post: 08-20-2010, 12:13 PM
  3. Replies: 5
    Last Post: 05-05-2010, 04:31 PM
  4. Calculate avg in a report
    By bob006 in forum Reports
    Replies: 1
    Last Post: 11-18-2009, 06:31 PM
  5. calculate holidays
    By barkarlo in forum Queries
    Replies: 0
    Last Post: 12-20-2006, 06:08 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