Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
kill process lock Sql server 9 49
How to execute an access 2007 module from vb6 2 35
Question about DB Schema 27 53
Query group by data in SQL Server - cursor? 3 31
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
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.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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…

770 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