By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,479 Members | 1,601 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,479 IT Pros & Developers. It's quick & easy.

set data field to null

P: n/a
I read multiple messages about this but i still can t get it working

i m trying to update my access db using an update query and set a null
(basically empty cell) date value
I tried

Date = Null

but it just won t accept it. I tried different version with '' ## ""

the settings of my database for this field are date/time, short date,
00/00/0000;0;_ and not required
i just don t understand why it is not working

Feb 16 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Does the field allow null values? (Required property is False?) If so,

SET MyDateField = NULL;

will work.

If your field is called "Date" then change it - it's a reserved word in
VBA, VB and SQL.

Feb 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.