Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / November 2004

Tip: Looking for answers? Try searching our database.

I am trying to use the Microsoft Date and Time Picker control and I am getting the following error "an error occured in a call to the windows date and time picker control" in access 2000.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ralph Malph - 25 Oct 2004 19:04 GMT
I am trying to use the Microsoft Date and Time Picker control and I am
getting the following error "an error occured in a call to the windows
date and time picker control" in access 2000. I have not been able to
find any information on how to configure the controls properties, and
I also get another error "Can't set value to null when checkbox
property = false". If I set that property to True than I get a
checkbox in the controls inputbox which I do not want. The last error
seems to be cause by the fact that I am adding this control into an
existing database and some of the records that will use this field
will not have data in it. I like the look and feel of this popup
calander control, the only other control I have found in access does
not seem to work the same way. How can I get this control to work with
out error ? Where can I find a manual on what all the property values
are and how the work.

Thanks for any and all the help I can get,

Ralph Malph
Greg - 25 Oct 2004 20:43 GMT
Ralph,
The Null value is the way that the control works.  If you want null values,
then you have to display the checkbox.  Sorry for the bad news.

Regarding the other problem,
Make sure that you have the mscomct2.ocx is in your c:\[windows]\system32
directory and make sure that it is registered correctly:  regsvr32 fn
Also, sometimes the control becomes corrupt, so you have to delete it, save
the form and then add a new one.  Be prepared for headaches if you plan to
distribute an app with this control.  It is well known to cause some grief
if not researched and planned properly.

Greg

> I am trying to use the Microsoft Date and Time Picker control and I am
> getting the following error "an error occured in a call to the windows
[quoted text clipped - 14 lines]
>
> Ralph Malph
Ralph Malph - 01 Nov 2004 06:12 GMT
Greg Thanks for the reply...Know of any good free alternatives ?

>Ralph,
>The Null value is the way that the control works.  If you want null values,
[quoted text clipped - 28 lines]
>>
>> Ralph Malph
Alex Dybenko - 01 Nov 2004 08:25 GMT
try to look here:
http://www.granite.ab.ca/access/calendars.htm

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Greg Thanks for the reply...Know of any good free alternatives ?
>
[quoted text clipped - 32 lines]
>>>
>>> Ralph Malph
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.