Computer Learning Zone CLZ Access Excel Word Windows

Formal education will make you a living; self-education will make you a fortune.

-Jim Rohn
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Microsoft Access 202    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 

Fabian Sanchez 
   
15 years ago
Richard I'm trying to create a report log that will grey out the entries once the date, starttime and endtime is past. i.e.
startdate = 4 May 11 and starttime is 10:30 endtime 11:00 once the system clock goes over 11:00 I want that entry on my report to be greyed out.  what's the best way to implement this?
Thanks


Reply from Richard Rost:

I would use a little bit of VBA code in the Build Event for the section. Something like:

If StartTime < INSERT_TIME_HERE Then
   MyTextBox.BackColor = COLOR_CODE_FOR_GRAY
else
   MyTextBox.BackColor = COLOR_CODE_FOR_WHITE
end if

Of course, you'll have to insert the right color codes and variables/field names in there, but that should get you started. I cover this in one of my lessons. Not sure which one. If you need it, let me know and I'll figure it out. :)

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Microsoft Access 202.
 

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/7/2026 11:31:47 AM. PLT: 1s