Results 1 to 6 of 6
  1. #1
    elizamcbeth is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    2

    Smile Yes/No Field Checkbox impacting expression

    Forgive me, I'm a self taught database designer. I'm novice and my terminology is off. I'm a Quality and Training Manager of a call center. My database was designed to house the scores of the calls that are being monitored for quality purposes. I created it and got it up and running, and now I need to make a change that I have no clue how to do or what to search by asking the right question to learn how. PLEASE HELP!

    My main table contains records of all of the calls. When an account is not verified by the CSR, I need to indicate if it was properly verified (ideally with a yes/no box). If yes, the score of the call would remain the same. If no, the score of the call would automatically decrease 10%. The score is a calculated field on the query and form. How can I get the yes/no box to drive the score down (or remain the same)? I added the checkbox to my table, query and form... but I don't know how to add the function it needs to deliver.

    Any help is much appreciated!

  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
    I'm going to suggest you work through this tutorial. You will see how you can go from a description of "your business" to a set of tables and relationships representing a data base that supports you business. You will learn a lot from this tutorial and will be able to apply it to your situation.

    And the forum is still here to answer questions.
    Good luck

  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,770
    Something like:

    score * IIf([checkboxfield]=False, 0.9, 1)
    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.

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the 10% decrease is a calculation so you don't need to record that but rather put that calculation in place where data is displayed (typically the query which will be the record source of the form/report). the benefit of not storing it is that when an error is made one can just change the check mark without having to remember to change the score..... one would assume you have a 'preVerificationScore' so it would look something like: FinalScore: IIf([checkboxfield] <>-1, 0.9*[preVerificationScore], [preVerificationScore])

  5. #5
    elizamcbeth is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    2
    Ok I'm getting closer. Hooray! The score is now resulting in a 0% when the account verification. However, I can't seem to figure out the correct calculation to make the score decrease 10% when unauthorized callers is missed. It makes the entire score 10%. What am I missing here? Please help.

    Score: IIf([tblAccountVerification]=0,0,IIf([tblUnauthorizedCallers]=0,0.1,[ActualPts]/[PossiblePts]))

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    There is nothing in that expression to decrease anything. Not applying either of the suggestions given in previous posts.

    tbl is prefix for a textbox? Most developers would use that as prefix for table name.
    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: 1
    Last Post: 06-24-2013, 07:50 AM
  2. Using A Checkbox For A Text Field
    By LanieB in forum Forms
    Replies: 1
    Last Post: 04-12-2013, 06:18 AM
  3. Creating expression that changes a checkbox
    By zipmaster07 in forum Programming
    Replies: 5
    Last Post: 01-03-2013, 06:58 PM
  4. compile a field on checkbox selection
    By jsabina in forum Forms
    Replies: 3
    Last Post: 01-06-2012, 01:12 PM
  5. Replies: 7
    Last Post: 11-26-2010, 07:54 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