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 
Check For Overlap Appt Times
Brian Asman 
    
4 years ago
Hello Forum!

I am looking to find overlapping appointments by date and time fields via queries or VBA.  

Open to methods outside of Access, yet I like creating a nicely laid out form for users to interact with.

Looking for some guidance.  Any input is appreciated.

Thank you!
Brian Asman OP  @Reply  
    
4 years ago
I believe I have found what I am looking for here:

Appointments

I am a gold member, and this video shows the code that looks for overlapping appointment times.  While this example is with appointment entry, I will be using this to check existing appointments in a table.  My approach will be a VBA loop statement that checks each record against all other records in the table.  Will work on this later today.

Hope this helps others looking for something like this.
Scott Axton  @Reply  
        
4 years ago
Conflict Resolution is also covered pretty in depth in
Access Developer 24
and
Access Work Order Seminar
Alex Hedley  @Reply  
           
4 years ago
Work Order Seminar is the first time I remember seeing this.
Be careful with the DLOOKUPS and DateTime format but since you're US you should be fine.
Brian Asman OP  @Reply  
    
4 years ago
Thank you Scott Axton.  

I have found the code in the template file I listed in the OP.  This code checks data before it is entered to the table.  The difference is I am looking to compare existing records with the rest of the records.  

The approach I have in mind is to compare each record, one at a time (loop statement?) with the others in the table, and write each record that has a conflict to a separate table.   I can then use this separate table to show which appointments have conflicts.  

I am not sure how to do this.  If possible to do this in queries, that would be great.  Otherwise, VBA seems the way to go.  Still, I am not sure how to use the existing code to do my bidding.

Thanks!

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 6:27:05 AM. PLT: 1s