Hi
I have the following code for adding a new record to a table:
(the recordset is an ADO recordset)
rstVacTypes.AddNew
rstVacTypes.Fields("Ref" = txtRef.text
rstVacTypes.Fields("Description" = txtDesc.text
rstVacTypes.update
on the first line, it's giving me an error saying "Cannot update 'Ref':field not updateable
any ideas pls?
thanks
I have the following code for adding a new record to a table:
(the recordset is an ADO recordset)
rstVacTypes.AddNew
rstVacTypes.Fields("Ref" = txtRef.text
rstVacTypes.Fields("Description" = txtDesc.text
rstVacTypes.update
on the first line, it's giving me an error saying "Cannot update 'Ref':field not updateable
any ideas pls?
thanks