DTPicker

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I have a form which used the DTPicker object to select a
date. When I open the form the date shown is the date
which I added the DTPicker object. I want the default
date to be the current date. I have tried to code it as
I would an activeX calendar but it doesn't work.

I would appreciate some help as there seems to be a
shortage of documentation on this.

Thanks
 
I assume you have the DTPicker control located on a
form. In this form's open event set the DTPicker control
equal to Date.
MyDTPicker = Date
This will set the DTPicker control to the current date.

The user can then go from there.

Cheers,
Henry
 
Back
Top