Results 1 to 4 of 4
  1. #1
    Bike is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    14

    Warranty Yes/No w/ Total Box

    I have a form with a [Total] box that calculates from a [Job Length in Hours] field(at the rate of 85$/hr) field but i have a warranty Yes/No field also.

    My question is that how would i go about creating it so that, if the warranty box is checked yes, that the total will automatically be zero, but if its not checked it will be its regular, 85$/hr rate.

    This is my current control source for my total box:

    "=[Job Length]*85"





    Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Along the lines of

    =IIf(Warranty = True, 0, [Job Length]*85)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Bike is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    14
    Got it working, thanks a lot. You've been a great help with everything.

    Solved.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Total's Box
    By Bike in forum Forms
    Replies: 1
    Last Post: 03-31-2011, 12:15 PM
  2. total Count
    By Alaska1 in forum Access
    Replies: 2
    Last Post: 12-06-2010, 08:09 PM
  3. Help with Query Total
    By mohara in forum Queries
    Replies: 4
    Last Post: 08-20-2010, 02:35 PM
  4. 7 day average and total
    By jannie in forum Access
    Replies: 1
    Last Post: 05-14-2009, 05:52 PM
  5. total in textbox
    By micfly in forum Access
    Replies: 3
    Last Post: 11-09-2008, 11:24 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