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 
NZ function
Alan Higgins 
      
3 years ago
I have a query that I have set up to returns all data  (See illustration attached for query details) until a filter is applied through unbound text boxes on the form.
The user has asked for 2 additional fields to be added however there isnt any data in those fields from the past. I added the search criteria to the query however it didnt work until I added zeros to all the empty fields. I tried adding the NZ function to my query criteria however after making that change, my form is empty not returning any data until I enter a criteria on one of the text boxes. I have only used the NZ a few times so I am sure I dont have it configured correctly.

This is one of the ways I tried to use NZ
Like "*" & Nz([Forms]![KFHOANavigationFF]![NavigationSubF].[Form]![txtCheckNbr],0)
Alan Higgins OP  @Reply  
      
3 years ago

Alan Higgins OP  @Reply  
      
3 years ago

Kevin Robertson  @Reply  
           
3 years ago
Check your Join Types.

Outer Joins
Mohei Eldin Fouad  @Reply  
   
3 years ago
Double click on the relation and make sure that You select the right option. Include all records from "*****T" and only those from '******T' where the joined fields are equal.

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: 5/8/2026 6:03:50 AM. PLT: 1s