Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar active x to show todays date

Status
Not open for further replies.

dominicgingras

Technical User
Jul 15, 2002
53
CA
Maybe it’s a simple question...

I have a pop-up form used for entering a date for my user. When I open that pop-up, I want the active x to display today’s date.

I tried this code:

Me.DateDépart.Value = Now()

No success

Any help will be appreciated.


 
Note - if you are using the Microsoft DateTimePicker control (mscomct2.ocx) then you need to place the above code in the forms OnLoad event.
 
Yes I did place the code on the on form load but when I put date() the () seem to disapear. I think I read something about date() and access 2002...
 
The brackets do disappear because it is a function without any parameters - that's ok! did it work???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top