|
-
Aug 2nd, 2001, 07:01 AM
#1
Thread Starter
New Member
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 ????
-
Aug 2nd, 2001, 07:05 AM
#2
-= B u g S l a y e r =-
-
Aug 2nd, 2001, 08:36 AM
#3
Frenzied Member
Check the Value in properties, If it has a date Erase it and it will default to todays date.
-
Aug 2nd, 2001, 09:22 AM
#4
What I do is
DtPicker.value=Now
to always have the current date
-
Aug 3rd, 2001, 06:57 AM
#5
Thread Starter
New Member
DtPicker
Thanks, I think I forgot to put the number of instance after the DTPicker.
Greetings from Belgium
-
Aug 3rd, 2001, 07:32 AM
#6
Member
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
Cracky - = DBA / Developer = -
visit : http://www.geocities.com/gvphubli/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|