Struggling with this one:
I need an SQL statement to delete all records in a recordset which have an empty field (text field).
strSQL = "DELETE FROM [tblLVRWrittenStatements] " & _
"WHERE [clientName] = '" & "" & "'"
CurrentDb.Execute strSQL, dbFailOnError
I have tried with (above) and without square brackets and all sorts of combinations of quotes.
Where am I going wrong?
Help!!!!!!!!
I need an SQL statement to delete all records in a recordset which have an empty field (text field).
strSQL = "DELETE FROM [tblLVRWrittenStatements] " & _
"WHERE [clientName] = '" & "" & "'"
CurrentDb.Execute strSQL, dbFailOnError
I have tried with (above) and without square brackets and all sorts of combinations of quotes.
Where am I going wrong?
Help!!!!!!!!