|
-
October 1st, 1999, 06:58 PM
#1
DTPicker
Hi folks,
What is the best way to assign the value in a DTPicker to a variable? Right now I have the following:
Dim Date1 As Date
Date1 = DTPicker1.Day & "/" & DTPicker1.Month _
& "/"& DTPicker1.Year
which works but is not very efficient. Is there any way to assign the entire value of the DTPicker to the variable?
Thanks so much,
Andrew
-
October 2nd, 1999, 09:50 AM
#2
Re: DTPicker
>way to assign assign the entire value ...
private Sub DTPicker1_Change()
Dim Date1 as date
Date1 = DTPicker1.Value
Caption = Date1
End Sub
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
|