Results 1 to 4 of 4
  1. #1
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17

    IIf Function, please help

    Good morning Ladies and Gentlemen,



    I was trying to use the IIf fuction I have already used it on excel database, it does not work!

    The function is [=IF(AND(C3="Truck",B3="Damage")=TRUE,"X"," ")].

    Please see attached files,

    Thank you very much for this great website.

    Have a good day,
    Attached Files Attached Files

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    In Access the syntax is slightly different.

    =IIF(C3 = "Truck" and B3 = "Damage","X"," ")

    However, in Access, you probably want the empty field to be NULL instead of " ". These two items are not the same.

    Look here for a complete tutorial.

    http://www.techonthenet.com/access/f...vanced/iif.php

    http://allenbrowne.com/vba-NothingEmpty.html

  3. #3
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17
    Good evening, thank you Sir for the great help, it works 100%, I apologise I cannot access the below link because internet is down now I am using a mobile phone right now, once the connection back I have another critical issue with graphs, however thank you very much and appreciated

  4. #4
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17
    I went through the links, wonderfull,

    This problem has been resolved I don't know how to close I am still looking for the sign "*" to click it!

    Thank you,

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

Similar Threads

  1. First function
    By Yoohoo in forum Programming
    Replies: 10
    Last Post: 11-22-2010, 01:36 PM
  2. Function Help
    By th3spankst3r in forum Programming
    Replies: 12
    Last Post: 03-22-2010, 12:41 PM
  3. Want function to get current function name
    By Davis DeBard in forum Programming
    Replies: 2
    Last Post: 08-13-2009, 05:02 AM
  4. function key
    By marianne in forum Access
    Replies: 5
    Last Post: 05-14-2009, 01:26 AM
  5. Is there a function to do this....
    By Nowherefast in forum Access
    Replies: 2
    Last Post: 12-31-2008, 08:08 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