Solved

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

Posted on 2007-03-29
2
181 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 119

Accepted Solution

by:
Rey Obrero 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
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…

947 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now