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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Multiple Dates
Kim Nielsen 
      
5 years ago
Hello Richard;
I have a bit of an issue, we have multiple number of cylinders that are filled regularly at various locations. However some of these cylinders, because of their location do not get filled on a regular basis. How would I identify cylinders that have not been filled in 11 months?  Is this even something that can be done? Thank you
Adam Schwanz  @Reply  
           
5 years ago
Lots of ways to do this, you could make a query and use a date range criteria or make a field with DateDiff Function
Adam Schwanz  @Reply  
           
5 years ago
Add this to the query criteria under the date field in the query
Not Between DateAdd("m",-11,Date()) And Date()

Then it will only show dates that are older then 11 months.
Kim Nielsen OP  @Reply  
      
5 years ago
Thank you i will give this a try ;0)
Kim Nielsen OP  @Reply  
      
5 years ago
Hi, i think maybe i didnt explain this correctly...Hopefully this will help with what I am trying to do. I have say 3 cylinders...as follows:
ACU123456, this cylinder was filled on 5 Jan 21, 5 May 21, 5 Jun 21 and 20 Jul 21
ACU987654, This cylinder was filled on 15 Jan 21, 5 May 21, 5 Jun 21 and 31 Jul 21
AGD123987, this cylinder was filled on 15 Jul 20, and has not been filled since. By code we are required to empty it and refill it within 12 months.
How do i identify these cylinders? we have 399 cylinders filled from 5 different locations. All the data and dates go into a central database on the server. so all the key information is available.

Hopefully i explained this better? I have tried a number of ways none resulted in any thing successful.
Adam Schwanz  @Reply  
           
5 years ago
So what you're saying is you don't store a LastRefilledDate, you just store all the dates that you did a refill?

If so, you can use the same thing, we just need to use DMax to get the more recent date for that cylinder.

You would make a new expression on your query, like LastRefilledDate: DMAX("Date","Table","ID") and then we would put the criteria onto that field instead
Kim Nielsen OP  @Reply  
      
5 years ago
Thank you.  Yes we have to track every fill that these cylinders have. We must have a full history of the 15year life span.
Scott Axton  @Reply  
        
5 years ago
Kim just making sure.  For each cylinder you have the fill date in its own record I hope.  The ACUxxx being the serial number?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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/6/2026 4:29:31 AM. PLT: 0s