Results 1 to 3 of 3
  1. #1
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    DTPicker Value Defaults to 12:00:00 (2003/SP2)

    The subject line just about sums it up.
    I am trying to capture the date value in a date picker, however, regardless of what is displaying in the datepicker I only get the time.
    I have tried:
    DateValue(me.MyDate.value)
    CDate(me.MyDate.value)
    and referencing the contents of the date picker into a text box (this gives my an 1899 date).
    The date picker is on the first page of a tabbed control.

    Sigh
    I'm sure I'm missing something obvious here...
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DTPicker Value Defaults to 12:00:00 (2003/SP2)

    I haven't been able to find anything relevant to your specific problem, but there are many reports of problems when using the Date and Time Picker in combination with a tab control. You might consider switching to an alternative
    - You can simulate a dropdown calendar using the Calendar control that comes with Access. See <post:=566,452>post 566,452</post:>.
    - There are popup calendars built entirely using native Access controls. See <post:=254,241>post 254,241</post:>.

  3. #3
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: DTPicker Value Defaults to 12:00:00 (2003/SP2)

    Ah, its good to know that when I have problems they are exotic ones! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

Posting Permissions

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