|
-
Mar 16th, 2000, 06:32 AM
#1
Thread Starter
Addicted Member
I have a group box in my program where the user inputs a date they are suppose to type it in this format mm/d/yy; there is no error routine if they don't do it i have just limited the characters this data then is updated to a database that uses that particular field. I am using the databound control and hook that field up to it's corresponding field in my database. Is there a way that i can have the box automatically format the date or prompt them if it's not entered correctly; anyone have any ideas on how they would do this. I need to gurantee that i always have an accurate response go to the database.
thank you !!!
-
Mar 16th, 2000, 06:37 AM
#2
transcendental analytic
Try to use CDate and isdate functions
-
Mar 16th, 2000, 07:00 AM
#3
Thread Starter
Addicted Member
sorry not a group box a text box; lol
-
Mar 21st, 2000, 03:00 AM
#4
Thread Starter
Addicted Member
used the date time picker control in vb6 works great in the properties you can automatically format the date!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|