?
Solved

date field

Posted on 1998-10-14
3
Medium Priority
?
171 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

621 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