Results 1 to 2 of 2
  1. #1
    sichilaba is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    24

    nested IIF BETWEEN AND EXPRESSION

    Hi,



    I have a table called Senior Report Card and this table has the following field names:

    Rating1 (data type is short text)
    Overral Grade (Unbound text box)
    Overall Decision (Data type is short text)

    I have created a form based on Senior Report Card Table

    On the form l would like to use the IIF Function to calculate the following:

    Rating1 is a calculated text box with an IIF function which returns A or B or C or D or E or F or G or H
    Overall Grade is a calculated text box with an IIF function which returns A or B or C or D or E or F or G or H

    Now l need an expression in Overall Decision that will return Repeat or proceed based on the condition BELOW:

    When Rating1 is E or F or G or H AND Overall Grade is A or B or C or D or E or F or G or H THEN Overall Decision should return Repeat otherwise Proceed

    I used this expression but its returns the #Name?

    =IIF([Rating1] between H and G AND [Overall Grade] between A and H),"Repeat","Proceed")

    Help will be appreciated

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    this has already been answered here

    https://www.accessforums.net/forms/p...tml#post269743

    please don't start new threads when you already have an active one on the same subject

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

Similar Threads

  1. nested iif
    By slimjen in forum Reports
    Replies: 1
    Last Post: 03-15-2014, 09:30 AM
  2. Replies: 5
    Last Post: 09-25-2013, 09:35 AM
  3. Replies: 2
    Last Post: 11-20-2012, 03:21 AM
  4. Replies: 4
    Last Post: 10-26-2012, 12:49 AM
  5. Nested IIF
    By Oldie in forum Queries
    Replies: 1
    Last Post: 02-17-2012, 06:04 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