Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
IsNull Query Problem
Ronald de Boer 
      
2 years ago
Hi,

I am trying to find all records in a table where RETY_ID IsNull.  When I enter the code the Query either returns all records that have a value in RETY_ID or 0 records.  I cannot get the records with the field RETY_ID where the value is Null.

What is the Exact Syntax in the Query Criteria to display these records?  

Attached is:1 The Table design showing RETY_ID is Numeric. 2. The Query Design. 3: A section of the table showing both records with a value in RETY_ID and records with  Null Value and 4:Result from running the Query where the Criteria =IsNull(-1).  I have also tried  =IsNull(TRUE),IsNull(TRUE), ISNull(-1)

I have Googled this and all I can find is to put in IsNull(True) and this doesn't work!

Thx in advance

Ron dB

Ronald de Boer OP  @Reply  
      
2 years ago

Ronald de Boer OP  @Reply  
      
2 years ago

Ronald de Boer OP  @Reply  
      
2 years ago

Ronald de Boer OP  @Reply  
      
2 years ago

Kevin Robertson  @Reply  
          
2 years ago
Use Is Null

Null
Christopher Hankwembo  @Reply  
  
2 years ago
The RETY_ID is a foreign Key from another table which must be used as a criteria plus the field which is supposed to be a value. So in this isNull is supposed to be on a target field not RETY_ID
Kevin Robertson  @Reply  
          
2 years ago
Is Not Null

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 8:45:58 AM. PLT: 1s