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 / Forms / August 2006

Tip: Looking for answers? Try searching our database.

ActiveX Date Picker Gives Error Message In Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Gibson - 17 Aug 2006 18:09 GMT
Hi,

I wonder if anyone can help me with a problem with an ActiveX control.

I have inserted an ActiveX date picker control into a form and linked
it to a date field in the underlying table. However, when I navigate
the records in the form I am getting error messages as below:

Cannot Set Value To NULL Whe CheckBox Property = FALSE

The message only seems to be appearing in the form for records when
the date field has a blank/NULL value.

I have altered the properties of the ActiveX control date picker for
"Checkbox" to "Yes" from "No"

That stops the error messages but I now have a tick box in the control
field to the left of the data part which looks out of place.

I tried a calendar control but it will not allow me to display it as a
simple field in dd-mmm-yy format in a small box, rather, it always
displays the calendar.

All I want is a calendar to pop up for date selection when I click the
drop down button of the date picker but without these error messages.

Any help gratefully appreciated as I am sure I am not the first person
to come acros  this and nor will I be the last.

Many thanks in anticipation

Regards
Dave
ManningFan - 17 Aug 2006 18:13 GMT
DatePicker gave our company so much trouble I re-wrote it using the
Calendar control.  No problems ever since.

> Hi,
>
[quoted text clipped - 29 lines]
> Regards
> Dave
Allen Browne - 17 Aug 2006 18:14 GMT
Hi Dave

There's a very simple little Access form in this link that you can include
in your database:
   http://allenbrowne.com/ser-51.html

No references needed.
Works with d/m/y dates.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> I wonder if anyone can help me with a problem with an ActiveX control.
>
[quoted text clipped - 27 lines]
> Regards
> Dave
Dave Gibson - 17 Aug 2006 21:30 GMT
Allen,

Thank you ever so much, it works a treat and the instructions were
very clear to follow.

Regards
Dave

>Hi Dave
>
[quoted text clipped - 4 lines]
>No references needed.
>Works with d/m/y dates.
 
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



©2008 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.