Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Task List Due Dates
Kenneth A Thomas 
       
8 hours ago
Good morning from Sunny Buffalo NY.  I have recently developed a Task List with an associated Form and Report.  How would I program the Report so I only print the tasks that are due (and not the completed tasks)?  Thank you.
Kenneth A Thomas OP  @Reply  
       
8 hours ago

Donald Blackwell  @Reply  
       
8 hours ago
Are you opening the report from the Navigation Pane or from a button? From the Navigation Pane, you'd need to have the report based upon a Query that limits to the records you want, for instance selecting only due dates less than or equal to 5 days from now and only tasks not marked as completed.

If opening from a button, just add the Where Condition to docmd.openReport.

docmd.openReport "MyReport", acViewPreview,, "DueDate <= #" & Date + 5 & "# AND TaskComplete = False"
Kenneth A Thomas OP  @Reply  
       
7 hours ago
OK, that sounds easy enough.  Thank you. I will probably open from a Navigation Pane.
Richard Rost  @Reply  
          
4 hours ago
Or an even simpler no-code method is to make a query with the criteria you want and base the report on that query. For example, include only records where the task is not complete and the due date is within whatever range you consider "due."

If you later want the user to pick a date range, put Start Date and End Date boxes on a form and have the query use those form values as criteria. Donald's VBA approach is perfect if you're opening the report from a button, but for opening it from the Navigation Pane, the query is the easiest route.

Value From a Form
Add a Reply Upload an Image
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: 8/6/2026 4:48:03 PM. PLT: 0s