|
-
Aug 8th, 2000, 12:44 PM
#1
Thread Starter
Hyperactive Member
All of you probably know that the maskedit control ain't the best for handling dates. That only leaves me one choice: the vb6 datepicker.
Are everyone using the datepicker or am I missing something? The datepicker's value CAN'T be set to NULL (unless you want the control to have a checkbox in it and the NULL value is simply grayed).
What's the solution to this? Let's imagine you have a form with a customer's informations, including his DOB. Using a datepicker would NEED a default DOB. You will all agree that this MUST be avoided.
Thank for your time...
-
Aug 8th, 2000, 01:37 PM
#2
Frenzied Member
If the datepicker's not bound, it's not that big of deal. You set the date value for a DOB to some early value (0, for instance) and then check before updating the database if the value is 0, changing it to null.
-
Aug 8th, 2000, 02:06 PM
#3
Thread Starter
Hyperactive Member
The problems is, to set the datepicker to null, you need that checkbox in the control. Which is ugly and unlike all my other controls.
Also, when using that checkbox, and setting the value to NULL, the date doesn't disappear - it only goes gray. I want it to disappear.
These 2 facts makes me believe I need another control. But I don't know which, since the maskedit will be much worse.
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
|