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

DTPicker Control to Current Date

Status
Not open for further replies.

peryan77

Programmer
May 7, 2004
41
0
0
US
I am trying to set the DTPicker control to current date.

Here is my code:

Dim CurDate as Date
CurDate = Date()

Me.DatePicker.Value = CurDat


The error I get is that the property is read only.
 
Hi!

The control should have a default value property. Set that to Date()

hth


Jeff Bridgham
bridgham@purdue.edu
 
It does not have this property. Object does not support this property or method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top