Results 1 to 2 of 2
  1. #1
    rlsublime is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    58

    Compile an Iif statement with following conditions

    I am trying to compile an IIF statement with the following conditions but I cannot get the query to run for some reason. any idea what i have done wrong here?



    LnPreApprConvDt:iif (LnPreApprFg is null,LnPreApprConvD,is null)

    Thanks

  2. #2
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    LnPreApprConvDt:iif ([LnPreApprFg] is null,[LnPreApprConvD],NULL)

    LnPreApprConvDt:iif ([LnPreApprFg] = NULL,[LnPreApprConvD],NULL)

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

Similar Threads

  1. Replies: 5
    Last Post: 04-20-2012, 06:40 PM
  2. Replies: 14
    Last Post: 02-08-2012, 03:36 PM
  3. iif statement with multiple conditions
    By ragsgold in forum Queries
    Replies: 7
    Last Post: 08-24-2011, 05:38 PM
  4. compile error: expected end of statement
    By RedGoneWILD in forum Programming
    Replies: 5
    Last Post: 07-29-2010, 10:12 AM
  5. Iff Statement Meeting 2 Conditions
    By newbie in forum Access
    Replies: 11
    Last Post: 06-11-2009, 11:59 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