Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

date field

Posted on 1998-10-14
3
Medium Priority
?
170 Views
Last Modified: 2010-04-30
How can I save a date field with null values or blank in a database table.
0
Comment
Question by:asimoes
  • 2
3 Comments
 
LVL 1

Expert Comment

by:wford
ID: 1439864
what type of data base?

most databases will default to null if the record is not set, otherwise is allownull(or required) set for the date feild

0
 
LVL 3

Accepted Solution

by:
fguerreiro_inix earned 150 total points
ID: 1439865
Assign NULL keyword to field.

UPDATE field = NULL .



Espero ter ajudado Simões
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1439866
The field in database must allow nulls

Regards
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question