I am using Access 2010 and I am getting this error:
"Current Recordset does not support updating. There may be a limitation of the provider, or of the selected locktype."
I have tried many combinations of locktypes and tried to look at similar questions asked, but I have no idea why this error is happening. Thanks in advance for any input!
"Current Recordset does not support updating. There may be a limitation of the provider, or of the selected locktype."
Code:
Dim SQLstr as String Dim R as ADODB.Recordset Set R = New ADODB.Recordset SQLstr = "SELECT * FROM TABLE1;" R.OPEN SQLstr, CurrentProject.Connection, _ adOpenDynamic, adLockReadOnly R.AddNew 'error here
Comment