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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

M. Date and Time Picker Control 6.0 in access. help please

Status
Not open for further replies.

heidenrb

Technical User
Jul 8, 2007
1
0
0
AU
Hi, requiring help on using Microsoft Date and Time Picker Control 6.0 in access. I find it works well except for one problem. Its ok i can select a date fine by clicking on it but when When i open the form it always shows the date I installed it as the default date, i cannot get it to show the current date unless i go to the design and change the date and that then becomes the default date.

can anybody advise what i can do
 
One thing you might do is to set the date during the Form_Load event.

Code:
Private Sub Form_Load()

DTPicker1.Value = Date

End Sub

This will set the value of the Date picker to the current date.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top