473,382 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

date & time picker control ???

hi all !
i have a date & time picker control bound to 1 field. it worked fine.
But i always get the message :" Can't set value to Null when checkbox
properties = FALSE" when i open my form.
there isnot any checkbox or proceduce on my form.
if the D&T picker control is unbound to any field, no message appear.
Can anyone explain to me what is trouble ?
Thanks ur time visitting my post.
Luan from VietNam

Dec 26 '06 #1
3 5939
On Mon, 25 Dec 2006 22:11:49 -0500, "luanhoxung"
<lu********@yahoo.comwrote:

That's how this control deals with Null values.
If you have a date field that can be null, set the Checkbox property
to True, and take out what's in the Value property.

I personally don't like this behavior, but that's what the control
does.

-Tom.

>hi all !
i have a date & time picker control bound to 1 field. it worked fine.
But i always get the message :" Can't set value to Null when checkbox
properties = FALSE" when i open my form.
there isnot any checkbox or proceduce on my form.
if the D&T picker control is unbound to any field, no message appear.
Can anyone explain to me what is trouble ?
Thanks ur time visitting my post.
Luan from VietNam
Dec 26 '06 #2
Thanks, Tom.
But...we cannot prevent this, can we?
Luan from VietNam

Dec 26 '06 #3

"luanhoxung" <lu********@yahoo.comwrote in message
news:4e******************************@localhost.ta lkaboutdatabases.com...
Thanks, Tom.
But...we cannot prevent this, can we?
Luan from VietNam
You can replace the Date and Time Picker ActiveX with one of many similar
funtions implemented by participants here, using nothing but Access'
built-in Forms and Controls. With most of those, you have access to the
original Forms, Controls, and Codes in design view and can change them as
you wish, if you want to change a behavior. An added advantage is that, if
you distribute your application to other users, you will not have to
distribute the ActiveX control in addition to your database application.

Larry Linson
Microsoft Access MVP
Dec 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Adrian Parker | last post by:
Hi. I have a date time picker in my program which uses ADO to read from an Access database. It works perfectly, unless the database is empty (no records) when opened. When you try to open an...
1
by: Ian | last post by:
I am creating a database using Access XP and have inserted the Microsoft Date & Time Picker Control 6.0 (SP4) onto several forms. I have created the DB on Win 2000 and the users are testing on Win...
3
by: TD | last post by:
This code doesn't work. Every posting I can find suggests that it should. If TypeOf controlname Is DTPicker then do something here End If I am using the Date Time Picker control and wish to...
2
by: Need Helps | last post by:
The example given in msdn.com on how to create a Date Time Picker involves using the CreateWindowEx function. However, I created a dialog box using the graphical interface, and then used the...
4
by: Michael Turner | last post by:
Hi Guys I have two DateTime pickers one shows the Date and the other the time, this is a requirement of the solution. The problem I have is that when the time is saved to the sql database into a...
2
by: Darhl Thomason | last post by:
I'm converting my Access 2003 VBA app. I have a number of date fields in my db that I want to use the date/time picker control with, but if there is no entry in my database, I want the date/time...
4
by: Michel Posseth [MCP] | last post by:
I have a problem with the date time picker validate event wich i believe is a bug How to reproduce : throw on a form a date time picker control and a textbox control select the validating...
0
by: fredloh | last post by:
i have a tab control on my form. i then have several microsoft date and time picker control on the tab control. when i select a date on any of the date and time picker control, the result of the...
1
by: Sabbuser | last post by:
Hey Guys please help me out!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have placed a Date & Time Picker Control on a form in Windows 2000, When our Organization has upgraded all the PC's with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.