I'm trying to "blank out" a field in a table on update of a field on a form. My code is:
db.Execute "UPDATE tblClients SET DeniedCreditDate = Null, & " WHERE ClientID = " & Me.ClientID, dbFailOnError
I've tried updating the field to "", but that doesn't work either. I'm getting an "Expected end of statement" error message and it goes to the word "WHERE".
What am I missing?
Thanks.
db.Execute "UPDATE tblClients SET DeniedCreditDate = Null, & " WHERE ClientID = " & Me.ClientID, dbFailOnError
I've tried updating the field to "", but that doesn't work either. I'm getting an "Expected end of statement" error message and it goes to the word "WHERE".
What am I missing?
Thanks.