G
Guest
I am trying to update a linked table by creating a
function which sets a recordset variable to the linked
table.
Set recNew = dbCurr.OpenRecordset("testjob", dbOpenDynaset)
If recNew.RecordCount > 0 Then
recNew.MoveFirst
Do While Not recNew.EOF
recNew.Edit
recNew!posted = True
recNew.Update
recNew.MoveNext
Loop
End If
It fails when it gets to recNew.Edit, I get a runtime
error '3000'. I am able to update the table by opening in
datasheet view. Any help would be greatly appreciated.
function which sets a recordset variable to the linked
table.
Set recNew = dbCurr.OpenRecordset("testjob", dbOpenDynaset)
If recNew.RecordCount > 0 Then
recNew.MoveFirst
Do While Not recNew.EOF
recNew.Edit
recNew!posted = True
recNew.Update
recNew.MoveNext
Loop
End If
It fails when it gets to recNew.Edit, I get a runtime
error '3000'. I am able to update the table by opening in
datasheet view. Any help would be greatly appreciated.