Update Date with Null value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table with a date column. There are occasions where I need to remove
the set date. I have tried using update with a Null value. This however
causes a mismatch. Is it not possible to do that and in that case would the
easiest solution be to delete the record and then isert it again without a
value for the date?
 
I can't find that property. I'm using Access 2003 with the Jet DB engine. The
value is not required.
 
I tested this

table1
Fields: a(number), dat(date)

UPDATE Table1 SET Table1.dat = Null
WHERE (((Table1.a)=1));

dat is set to not required.

- Raoul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Null Date Question 1
Joins on NULL Date values 3
counting Null fields 3
Update query should not fire if prompt is null 1
Query: date is null 4
Date check on query 2
Using Is Null in Update query 3
#error - Blank 3

Back
Top