+ Reply to Thread
Results 1 to 3 of 3

Is Not Null

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2010
    Posts
    22

    Is Not Null

    Afternoon,

    I know this will be a simple If THen statement, but I am having issues. I am in the design view of a query is Access.

    I simply want to say if that is the below cell (Freight Terms) is NOT BLANK (i.e, there is data in the cell), then to give me a 1, if not, give me a 2.

    I am getting an error that states "undefined function"IsNotNull" in expression", and I am trying to understand why. Unlike Excel, the IsBlank() function does not appear to work...Any assistance would be appreciated

    Expr2: IIf(IsNotNull([Freight Terms]),"1","2")

    Thank You,

  2. #2
    Registered User
    Join Date
    03-26-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Is Not Null

    Upon researching Access functions, I have not come across Is Not Null...However, the functions IsNumeric() and IsDate() appear to solve this issue in Access.

    If that offers any value to anyone.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,940

    Re: Is Not Null

    You could have used: Expr2: IIF(IsNull([Freight Terms]),"2","1")

    Is Not Null may be used in the criteria of a field in a query.

    http://office.microsoft.com/en-us/ac...010066611.aspx

    BTW: there are no cells in Access. There are fields within records. Cells are a spreadsheet term.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1