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 / August 2005

Tip: Looking for answers? Try searching our database.

DateTime Picker Access 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ian_journeaux@hotmail.com - 15 Aug 2005 21:38 GMT
There are many articles on the limitations of the Microsoft datetime
picker and it not accepting null values. I am probablt in the same boat
but I am not sure I understand why.

I am using Access to access a set of SQL tables. The Table has a date
field and I have configured the default value of the date field to be
Today().

In access I have a form that is bound to the table (including the date
field). WHen I use the form to add a new record, I get an error "Can't
set value to null.....".

Why is it null since I have configured the SQL Table to populate it
with today's date?
Alex Dybenko - 16 Aug 2005 08:10 GMT
Hi,
the problem with this control that it does not accept null value, that is
why you get this error.
so you can either make in unbound, and add code to update a textbox with
date after datepicker entry, or use some other solution, for example this
one:
http://www.pointltd.com/Downloads/Details.asp?dlID=32

Signature

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

> There are many articles on the limitations of the Microsoft datetime
> picker and it not accepting null values. I am probablt in the same boat
[quoted text clipped - 10 lines]
> Why is it null since I have configured the SQL Table to populate it
> with today's date?
 
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.