Results 1 to 3 of 3
  1. #1
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13

    Iif between two numbers

    I have two fields



    max limit increase final increase
    75 106 75
    45 26 26
    30 30 30
    i want to get final increase by access query


    iif increase < max get max limit
    iif increase > get increase


    how do it


    many thanks

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    basic principle would be

    finallimit:iif(increase > maxlimit,maxlimit,increase)

  3. #3
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13
    many thanks

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

Similar Threads

  1. Replies: 5
    Last Post: 10-29-2014, 12:12 PM
  2. Replies: 8
    Last Post: 03-10-2014, 11:47 AM
  3. same numbers = differnet numbers?
    By mike02 in forum Queries
    Replies: 1
    Last Post: 07-17-2013, 03:40 PM
  4. Replies: 1
    Last Post: 11-29-2011, 08:43 AM
  5. numbers
    By Balen in forum Access
    Replies: 1
    Last Post: 08-17-2010, 05:16 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