Mafandon,
Have you ever looked to one of the thousand samples on internet about a
Numeric textbox.
What you ask you can do in the same way.
This are the answers limited to the microsoft.public.dotnet.languages.vb
newsgroup which is probably more suitable for your question because you need
the answer in code.
http://groups.google.com/group/micro...rch+this+group
You can create for your dbnull date in my opinion a check if 01010001 is
entered (the lowest date possible in DateTime and than change that for a
nothing (system.vbnull) in your database.
I hope this helps,
Cor
"mafandon" <ma******@discussions.microsoft.comschreef in bericht
news:6A**********************************@microsof t.com...
This example deals with a datetimepicker Date of Birth concept for a
windows
form in VB 2005.
Simply put, if a user wants to enter the MM/DD/YYYY using the number pad,
how can I advance the cursor to the DD and then the YYYY without needing
to
use the "/" key?? So the keystrokes look like "07041978" versus doing
"07/04/1978".
Secondly - if we don't know the D.O.B. at the time of input, we'd like to
make update the dataset with a blank (null) value.
Thanks much.