Solved

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

Posted on 2007-03-29
2
171 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
Comment Utility
in the load event

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

0
 
LVL 44

Expert Comment

by:GRayL
Comment Utility
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

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…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

17 Experts available now in Live!

Get 1:1 Help Now