I'm trying to add new records to a recordset, based on a query which joins two tables. The recordset is updatable, as I can add new records by typing directly into the add row of the query. But when I try to do it from the form, I receive the error: "Field cannot be updated."
My code is:
Set rs = db.OpenRecordset(strSQL, adOpenDynamic, adLockOptimistic)
With rs
.AddNew
![EFirstName] = Me!EFirstName
......
.update
end with
Thanks.
Dennis
My code is:
Set rs = db.OpenRecordset(strSQL, adOpenDynamic, adLockOptimistic)
With rs
.AddNew
![EFirstName] = Me!EFirstName
......
.update
end with
Thanks.
Dennis