Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Update Query < Split Database | Create Function >
Back to Update Queries    Comments List
Upload Images   Link   Email  
criteria from different table
Elijah Smith 
     
8 months ago
TLDR: I need to update a field on one table using criteria from a different table

I'm building a database to track units that we send to customers and then they return. Periodically they need to be cleaned (90 days) and cleaning records need to be kept. So I have an Assets table that contains a status field (clean/Dirty) and a Sanitation table that keeps track of when an unit should be washed, when it becomes due to be washed, and when it actually becomes washed. I want my update query to check the due date(<Date()) and the wash date(Is Null). Right now the query is only updating the first record, but none of the rest. What am I missing?
Elijah Smith OP 
     
8 months ago

Adam Schwanz 
            
8 months ago
Turn it into a normal select query with the same setup and criteria and see how many records are returned. I'm guessing this has to do with the relationships between the tables. Might be a situation of needing Outer Joins
Elijah Smith OP 
     
8 months ago
Thanks for your help. Switching it to a select query help me to figure out that I was missing a field. :)

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Update Queries.
 

 
 
 

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 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/11/2025 9:06:55 PM. PLT: 1s