Results 1 to 2 of 2
  1. #1
    friar85 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    1

    Different data providing different results....using if, then

    I am a total newbie, so be easy on me.

    I a running a query where an employee may make 3 different types of mistakes: adm, doc or proc. These mistakes are contained in A field called ErrType. I wan to assess the folowing points: Adm = 10 points, doc = 5 points and proc=2 points. In addition, if an employee self-reports the error (yes/no), the 2 points will be deducted. ([SelfRep],-2,0).

    I want to create a query where I can pull up names of employees and have the totals calculated. Some employees may have multiple errors of varying types.

    How can I get the query to calculate a) points for an individual error and b) total points accumulated by an employee?

    Any suggestions are welcome. I am looking to learn to do this myself, so even just pointing me in a direction would be beneficial.

    Thanks in advance!

  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,870
    Please show your table designs/structures.
    Please post the query sql.
    Are you using lookups at the field level in a table?
    If so see http://access.mvps.org/access/lookupfields.htm

    General help with query
    http://www.techonthenet.com/sql/select.php

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

Similar Threads

  1. Report Data Not Matching Query Results
    By Rawb in forum Reports
    Replies: 7
    Last Post: 10-25-2012, 01:41 PM
  2. Replies: 6
    Last Post: 10-05-2012, 04:57 AM
  3. Replies: 1
    Last Post: 04-26-2012, 09:13 PM
  4. Replies: 1
    Last Post: 07-13-2011, 10:58 AM
  5. Providing role based access
    By mrk68 in forum Security
    Replies: 3
    Last Post: 03-25-2009, 07:46 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