
Originally Posted by
vojinb
Hy,
I have a table having one date field formatted as short date "15.12.2011", and on a form text box formatted as short date format. When I click on text box calendar appears and I choose proper date, but when I want to update date in table via query it returns error.
My query looks like:
CurrentDb.Execute ("UPDATE category SET date=#" & Forms![main form]!txtDate.Value&"#")
I don't see anything wrong but it keeps me returning error
And If I use US format update works but with date 31.12.1899