MySQL Forums
Forum List  »  Microsoft Access

My SQL Date field interpretation in Access
Posted by: John Hickey
Date: September 24, 2009 07:50AM

I have a date field in my MySQL table that I am trying to edit in Access, but it is not letting me do it from the Access interface. I can CHANGE the date, but what I am really trying to do is DELETE the date, if one is entered.

In Access when I enter the date field and delete it (space bar it off, etc) and then try to move to the next record I get: "You tried to assign the null value to a variable that is not a variant data type."

In MySQL, it says the field is set up as such: 'date1` datetime NOT NULL default '0000-00-00 00:00:00'

When I try to enter 0000-00-00 00:00:00 on the Access side, (to overwrite a date I am trying to get rid of..) I receive "The value you entered isn't valid for this field." and again I can't save the change.

I need to be able to make the edits from the Access interface, what can I enter in the field that would be accepted?

Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
My SQL Date field interpretation in Access
3499
September 24, 2009 07:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.