Results 1 to 3 of 3
  1. #1
    steven7 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    May 2016
    Posts
    13

    Help with expression

    Hi,



    I am trying to display "text" if the following criteria is met,

    If the [box] = "20ft"

    The [loading pattern] is null.

    I was writing Field: Iif(IsNull([loading pattern]) & [box]="20ft","text")

    But this doen't seem to work. ANy suggestions?

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    "&" is a joining operator NOT a logic one. you must use AND.

    Iif(IsNull([loading pattern]) and [box]="20ft","text")

  3. #3
    steven7 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    May 2016
    Posts
    13
    Perfect,

    Thanks

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

Similar Threads

  1. Replies: 2
    Last Post: 05-12-2016, 04:31 PM
  2. Replies: 4
    Last Post: 05-03-2016, 01:51 PM
  3. Replies: 5
    Last Post: 09-25-2013, 09:35 AM
  4. Replies: 2
    Last Post: 11-20-2012, 03:21 AM
  5. Replies: 4
    Last Post: 10-26-2012, 12:49 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