Question:

Microsoft Access Query..?

by  |  earlier

0 LIKES UnLike

I'm trying to create a query in Access and want it to include all blank fields. I thought I typed "null" to show the blanks under the criteria in Design view but this seems to be wrong. Does anyone know what needs to be typed in the criteria?

 Tags:

   Report

3 ANSWERS


  1. If you want to see only the records with blank or empty fields then use

    Is Null or ""

    If you want to include the blank or empty fields with the other records, then leave the criteria out.


  2. Try ""

    (A zero-length string)

  3. A common misconception. A field that is NULL is not the same as one that is empty or zero. NULL means 'does not exist'. If the field was defined as nullable, then you may be able to retrieve a default replacement value for any field that is NULL (check your DBMS documentation for the COALESCE command as one possibility).

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.