Results 1 to 3 of 3

Thread: yet another DTPicker question

  1. #1

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    I have 2 DTPickers on my form, when i open the form i want the first one to default to the first day of the current year and the 2nd one to default to the last day of the current year....
    Any clues??
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Something like:

    dtpStart.value = cdate("01/01/" & Year(date))
    dtpEnd.value = cdate("12/31/" & Year(date))

  3. #3

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    looks like that did the trick... Thanx
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width