Date box not showing blank

johncassell

Well-known member
Joined
Jun 10, 2007
Messages
120
Location
Redcar, England
Programming Experience
Beginner
Hi There,

I have a form with 2 date boxes on "Start_Date" and "Complete_Date".

I load a job which has a Start_Date of 20/09/2007 but no Complete_Date yet.

When the form loads, it shows todays date in the Complete_Date box. How can I get this to be blank?

Thanks

John
 
I do not think you can make it blank. The solution I would propose you is to set the ShowCheckBox property to true and it will disable the Date field when unchecked. Just try it, finding the option is the hard part, but using it is pretty straightfoward.
 
Hi Fellas,

Thanks for the advice.

I have decided to go with having a textbox bound to the source (Which will return Nulls) and place them ontop of the datetimepickers(With only the drop down visible). This way the user still gets the nice calender to select the dates and when they do, it updates the textboxes.

Cheers

John
 
Back
Top