• Null values (2003)

    • This topic has 2 replies, 2 voices, and was last updated 17 years ago.
    Author
    Topic
    #450062

    How do you sort null values last in a query?

    Viewing 0 reply threads
    Author
    Replies
    • #1104979

      Add a calculated column:

      NN: IsNull([FieldName])

      and add the field itself (FieldName) to the right of this column, clearing the Show check box for both if you wish. Sort on both columns. Because True = -1 and False = 0, the null values will be sorted before the non-null values.

    Viewing 0 reply threads
    Reply To: Null values (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: