A
Al
I have an access front end with sql server 2005 back end. when I run the
following code:
Set db = CurrentDb()
Set rst = db.OpenRecordset("tblUserLog",
dbOpenDynaset, dbSeeChanges, dbOptimistic)
With rst
.AddNew
![UserID] = Me![SelectUser]
.Update
End With
The code break on .AddNew and gives me the error message "Cannot update.
Database or Object is read-only"
even though the account I use has the read/write permession and has the
sysadmin role.
any idea?
thanks
following code:
Set db = CurrentDb()
Set rst = db.OpenRecordset("tblUserLog",
dbOpenDynaset, dbSeeChanges, dbOptimistic)
With rst
.AddNew
![UserID] = Me![SelectUser]
.Update
End With
The code break on .AddNew and gives me the error message "Cannot update.
Database or Object is read-only"
even though the account I use has the read/write permession and has the
sysadmin role.
any idea?
thanks