R
Rob W
Greetings,
Within my applications which stores member details is a date field (last
visited), upon creating a new member this date can be left blank.
My application uses the checked function and if no date has been selected a
NULL date value is stored for the member record.
The edit member screen I use IsDBNull and only retrieve the datepicker value
if present.
Upon retrieving members where no date has been set it will display either
the default initial value (if first time in the form) or a value from the
previously selected record (which may confuse people).
I did think about using a strange initial date like 99/9/9999 (dd/mm/yyyy)
to indicate blank date.
Can anyone think of a more elegant solution?
I used a datepicker as I thought it would be convenient for the user.
I did think about custom controls but at my skill level of vb.net I would
rather avoid it, however if this is the ONLY real way forward I could brave
it ;-)
Any Ideas?
Thanks
Rob
Within my applications which stores member details is a date field (last
visited), upon creating a new member this date can be left blank.
My application uses the checked function and if no date has been selected a
NULL date value is stored for the member record.
The edit member screen I use IsDBNull and only retrieve the datepicker value
if present.
Upon retrieving members where no date has been set it will display either
the default initial value (if first time in the form) or a value from the
previously selected record (which may confuse people).
I did think about using a strange initial date like 99/9/9999 (dd/mm/yyyy)
to indicate blank date.
Can anyone think of a more elegant solution?
I used a datepicker as I thought it would be convenient for the user.
I did think about custom controls but at my skill level of vb.net I would
rather avoid it, however if this is the ONLY real way forward I could brave
it ;-)
Any Ideas?
Thanks
Rob