Results 1 to 7 of 7

Thread: DTPicker6 (A2k)

  1. #1
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DTPicker6 (A2k)

    Why does nothing happen and I can't populate a field when using the Date & Time Picker ? I'm puzzled !!

    <pre>'Test Code
    MsgBox Me.DTPicker6.Value
    Me.DateEnter = DTPicker6.Value</pre>


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

    Re: DTPicker6 (A2k)

    Where does this code reside? It looks OK, and works for me in a quick test.

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DTPicker6 (A2k)

    Hans

    Which event have you used ?

    Edited : Could it be because I'm using a continuous form ?

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

    Re: DTPicker6 (A2k)

    it shouldn't really matter. I used the On Click event of a command button. Again: "Where does this code reside?"

  5. #5
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DTPicker6 (A2k)

    I used the On Click of the DTPicker control ?
    Also tried the On Updated option also.

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

    Re: DTPicker6 (A2k)

    Try the On Change event instead:

    Private Sub DTPicker6_Change()
    Me.DateEnter = Me.DTPicker6.Value
    End Sub

  7. #7
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DTPicker6 (A2k)

    Thanks Hans

    I'll give it a go.

Posting Permissions

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