Solved

Today's date is not highlighted in a pop-up calendar control in ACCESS 2003

Posted on 2007-03-29
2
197 Views
Last Modified: 2010-03-19
I am placing a pop-up calender control on a access form . In the design mode I see today's date highlighted on the calendar.....BUT when I run the form, I have the calender hidden...when they click the date text box it appears but today's date is not highlighted..

How do I make today's date be highlighted when the calender control becomes visible.

Any help or insight would be much appreciated.
0
Comment
Question by:nomar2
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 50 total points
ID: 18816433
in the load event

Private Sub Form_Load()
    CalendarX.Value = Now
End Sub

0
 
LVL 44

Expert Comment

by:GRayL
ID: 18816495
In the load event:

Private Sub Form_Load()
  Me!ActiveXCtln = Date
End Sub

ActiveXCtln is the name of the calendar control on your form.  It will look like this unless you have changed it from the default - n is any number.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question