DTPicker

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
 
H

Henry

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top