-
DTPicker
I use a DTPicker to perform a date into my programm, however if I p.e put the control on my form on the 16 june 2001 the value of the DTPicker stay's always by opening the form on that date, even whe are 3 months later.
Instate of clicking the DTPicker and go on for a few months it shut given me the at least the current date.
How to achieve this ????
-
-
Check the Value in properties, If it has a date Erase it and it will default to todays date.
-
What I do is
DtPicker.value=Now
to always have the current date ;)
-
DtPicker
Thanks, I think I forgot to put the number of instance after the DTPicker.
Greetings from Belgium
-
Hey try this
dtpOne.value = format(date,"dd-mmm-yyyy")
this will set it to the date like 23-Apr-2001
dtpOne.VAlue = format(time,"HH:mm")
this will set the value of dtp to time in hrs and minutes like 14:30