D
Dave
I'm update a form someone else created. I added a
DateTimePicker control to the form and I want it to
default to the current date everytime someone loads the
form. I've tried using DTPicker1.value = Date in the form
load event and I get the error:
Run-tim error '2763':
DTPicker returned the error: An error occurred in a call
to the Windows Date and Time Picker control..
Also if I try and set the MinDate and MaxDate values in
code I always get an error message saying that the date is
in the incorrect format. I've tried every date format I
can think of without any success.
On one of the forms I created from scratch I am able to
set the DateTimePicker control value in the form load event
and set the MinDate and MaxDate values
DateTimePicker control to the form and I want it to
default to the current date everytime someone loads the
form. I've tried using DTPicker1.value = Date in the form
load event and I get the error:
Run-tim error '2763':
DTPicker returned the error: An error occurred in a call
to the Windows Date and Time Picker control..
Also if I try and set the MinDate and MaxDate values in
code I always get an error message saying that the date is
in the incorrect format. I've tried every date format I
can think of without any success.
On one of the forms I created from scratch I am able to
set the DateTimePicker control value in the form load event
and set the MinDate and MaxDate values