Hello everybody,
I have a syntax error in this code:
With adoRS
db.Execute "DELETE from MyTable WHERE format(ID," & Chr(34) & "mm/dd/yyyy HH:MM

S" & Chr(34) & ")=" & varD
.MoveNext
If .EOF Then .MoveLast
End With
varD is DateTime type variable.
I've tried without formatting, still have an error. Can anybody help me out? Thanks.