Solved

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

Posted on 2007-03-29
2
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

726 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