Results 1 to 3 of 3
  1. #1
    bravura is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Nov 2016
    Posts
    2

    Expression used on form not working.

    =IIf([Rate]<750, [Rate]*[Total_MT], [Rate]*([NbrOfD20Bkd] + [NbrOfD40Bkd]))

    regardless if the Rate is over or under $750.00, form calculates (Rate * Total_MT).

    Rate is stored in table as currency.




    ideas?

    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,521
    Looks okay offhand. You aren't applying the format function or anything to Rate which might make it be seen as text? Can you attach the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    It wouldn't be because [NbrOfD20Bkd] + [NbrOfD40Bkd] = [Total_MT], would it? Is that possible?

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

Similar Threads

  1. Greater than expression not working
    By mpreston14 in forum Queries
    Replies: 9
    Last Post: 05-08-2015, 11:49 AM
  2. DSUM Where Expression not working
    By GraeagleBill in forum Programming
    Replies: 3
    Last Post: 02-23-2015, 09:41 PM
  3. Replies: 5
    Last Post: 03-21-2013, 04:37 PM
  4. Expression not working in query
    By Bob Blooms in forum Access
    Replies: 4
    Last Post: 08-25-2012, 08:42 AM
  5. Replies: 2
    Last Post: 10-02-2011, 01:27 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