I am trying to update a MS Access table via VBA from a DAO Recordset. The problem is that if one of the field values is null. The code errors out. Is there something like IsNull(rst.Fields("FirstName").value,"")
that I can use? I tried using this but it throws the error "Invalid Use of Null". Please help.
strSQL = Update myTable SET myField ='" & rs.Fields("recField").Value & "' where id = 25
db.Execute strSQL
in this instance, rs.Fields("recField").Value
is Null