hi,
is it possible to use recordset on a linked table. I have this, yes mundane i know,:
dim db as database
dim rstRequests as recordset
set db = currentdb
Set rstRequests = db.OpenRecordset("Requests", dbOpenTable)
With rstRequests
.Index = "PrimaryKey"
.Seek "=", Item_ID
.Edit
![Returned?] = True
.Update
MsgBox "Item has been returned.", vbInformation
End With
But it stops at "Set rstRequest = db.openrecordset ..."
and tell me that it is an invalid operation. Is there any way to change records on a linked table? I thought you could do it since you aren't actually changing the design. hmmm.
is it possible to use recordset on a linked table. I have this, yes mundane i know,:
dim db as database
dim rstRequests as recordset
set db = currentdb
Set rstRequests = db.OpenRecordset("Requests", dbOpenTable)
With rstRequests
.Index = "PrimaryKey"
.Seek "=", Item_ID
.Edit
![Returned?] = True
.Update
MsgBox "Item has been returned.", vbInformation
End With
But it stops at "Set rstRequest = db.openrecordset ..."
and tell me that it is an invalid operation. Is there any way to change records on a linked table? I thought you could do it since you aren't actually changing the design. hmmm.