Solved

blanking out a Microsoft Access date/time field

Posted on 2002-04-11
3
168 Views
Last Modified: 2013-12-24
I'm writing a program, where there are tasks assigned to people with a due date.  The due date can be blank, if no due date is set.

Everything works fine, except when there was a due date, but the user changes it to become blank again.  I'm trying to run a update query to blank the due date out but it's not working.

Using coldfusion, how can I take a date/time Access 2000 field with a date in it, and take out the date (leaving it blank)?

thank you

mcon1
0
Comment
Question by:mcon1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 50 total points
ID: 6934462
can't you just set it to null.

update yourtable
set datefield = NULL
where datefield > #CreateODBCDate(Now())#

CJ
0
 
LVL 1

Author Comment

by:mcon1
ID: 6934495
sweet!

I knew there must be an easy way to do it.  Thank you for the quick reply.
:)

mcon1
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 6934911
no prob, Glad I could help.. Thanx for the "A".
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

628 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