[SOLVED] Sql for date problem
I have the following sql statement to update some records to a table by a form:
I believe that he problem is on Date syntax. The format of my date field is short date (dd/mm/yyyy).
I appreciate any help
Thank you in advance
I have the following sql statement to update some records to a table by a form:
Code:
Set rs = cdb2.OpenRecordset("SELECT * FROM tblSpy WHERE ID=" & Me.cbxItems.Value & " And [SpyDate]=#" & Me.saleDate & "#", dbOpenDynaset)
I appreciate any help
Thank you in advance
Last edited: