Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTime Picker - Blank Value

Status
Not open for further replies.

barrylowe

Programmer
Nov 6, 2001
188
GB
I have an Access 2000 format database in which I have created an unbound data entry form.

On this form I have 3 date time picker controls (MSComCtl2.DTPicker.2 class) which are used to enter 3 different dates.

What I want is when the form opens up for these 3 controls to be blank and only contain a date when one is selected from the pop-up calendar. But if I try to blank the value field I get the following warning:

"Can't set Value to NULL when CheckBox property = FALSE"

Is there a simple way of doing this?
 
Even setting the checkbox value to true really doesn't do what you want. It appears that the control is DEPENDANT on a valid entry when it first starts thus it gets the system date. I'd like to know if this is possible as well.
 
I had the same issue. when I creatded a d-base on my system I had no problem. When I installed on another system the date picker was blank. MSComCtl2.DTPicker.2 class

google MSComCtl2.ocx missing


goto this website follow the istruction and it will correct your problems.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top