Results 1 to 4 of 4
  1. #1
    techexpressinc's Avatar
    techexpressinc is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Dec 2008
    Location
    Indiana, USA
    Posts
    151

    Expression with multiple conditions

    My error message is the "wrong number of arguements".



    I am trying to create a new column with two criteria being met.
    1) The column "Activity Type-SA not equal to "Travel"
    and
    2) The column "Rate Value = "1".


    FaceTime: ((IIf([ACTIVITY TYPE-SA]<>"Travel") AND ([RATE VALUE] ="1")),[TIME-SA],"0")

    Attached is a screen print.
    Thanks for help formatting this one.
    Russ

  2. #2
    thhui is offline Competent Performer
    Windows XP Access 2002 (version 10.0)
    Join Date
    Feb 2009
    Posts
    235
    The expression should be :-
    Code:
    FaceTime: 
    IIf(([ACTIVITY TYPE-SA]<>"Travel") AND ([RATE VALUE] ="1"),[TIME-SA],"0")

  3. #3
    techexpressinc's Avatar
    techexpressinc is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Dec 2008
    Location
    Indiana, USA
    Posts
    151
    That works! Thanks Russ

  4. #4
    thhui is offline Competent Performer
    Windows XP Access 2002 (version 10.0)
    Join Date
    Feb 2009
    Posts
    235
    Glad to see your posting back with success!

    If your issue is resolved, may you use this forum's thread tools feature to mark it solved.

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

Similar Threads

  1. Simple Expression
    By Bridgid in forum Queries
    Replies: 7
    Last Post: 06-17-2009, 09:07 PM
  2. Iff Statement Meeting 2 Conditions
    By newbie in forum Access
    Replies: 11
    Last Post: 06-11-2009, 11:59 AM
  3. What's wrong with this expression
    By tallroger in forum Access
    Replies: 1
    Last Post: 05-05-2009, 04:00 PM
  4. Help With an expression
    By kylem4711 in forum Queries
    Replies: 2
    Last Post: 04-23-2009, 01:57 PM
  5. Expression Builder
    By mistaken_myst in forum Access
    Replies: 2
    Last Post: 05-07-2008, 01:30 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