Solved

date field

Posted on 1998-10-14
3
163 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 50 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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now