Codings help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sreekandan
    New Member
    • Nov 2006
    • 98

    #1

    Codings help?

    Now im doing the project i VB6.0. In that i want to insert the date field into database. In that, if the person enter his Date of birth in a text box in the format of "MM/DD/YYYY" then that field is to be inserted into the database. Now I have the doubt is, if the person enters the Date of birth is not a proper fomat then the message should be like that is "Enter the proper format of Date".So kindly reply me with the code.
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by sreekandan
    Now im doing the project i VB6.0. In that i want to insert the date field into database. In that, if the person enter his Date of birth in a text box in the format of "MM/DD/YYYY" then that field is to be inserted into the database. Now I have the doubt is, if the person enters the Date of birth is not a proper fomat then the message should be like that is "Enter the proper format of Date".So kindly reply me with the code.

    use datetimepicker control or

    at the top of the date Tesxtbox use one lable with the date format or
    use Format(txtDateV alue.Text,"MM/dd/yyyy")

    Comment

    Working...