Results 1 to 3 of 3

Thread: DateTime Picker Control

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Chicago, IL 60657
    Posts
    3

    Post

    Hi folks,

    Does anyone know how to save a null value of a dtpicker control to a database (ie when the user unchecks the checkbox, indicating that he/she doesn't want to select a date). How do I check if the checkbox is selected and/or return the checkbox as selected?

    Thanks guys.

    ------------------
    Tom Haddon

  2. #2
    New Member
    Join Date
    Mar 1999
    Posts
    12

    Post

    Tom, to save the null value just use the .value property of the control to save against the database. I don't think there is a checked property on the control, but again you can use the .value property to see if the value is Null. On this control, as far as i've seen, the only way to set the value to a null is to uncheck the box. This control is a nice new feature packaged in VB, however, like every other MS control, they could have spent a little more time developing it... How about a locked property and how about clearing the box when the checkbox is not checked???? Add these to features to this control and it would get my vote for control of the year.

  3. #3
    New Member
    Join Date
    Aug 1999
    Location
    Jakarta, DKI, Indonesia
    Posts
    1

    Post

    hi,

    I've had problem with dtPicker.
    How do we bind the field from RecordSet in ADO to dtPicker?
    I can do it by whenever the table contain no records, it fails saying can not be bind, know why?

    Thanks for the help

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