I'm getting an error that I am missing a parameter in the "Set rstRequests = ..." line. What does this mean and how do I correct it?
mySQL = "select * from Requests where Request_ID = forms.[end_request].Item_ID"
Set rstRequests = db.OpenRecordset(mySQL)
wrkspace.BeginTrans
With rstItems
.Index = "PrimaryKey"
.Seek "=", Item_ID
.Edit
!Available = True
!Building_ID = Me.Building_ID
!Room_ID = Me.Room_ID
.Update
End With
mySQL = "select * from Requests where Request_ID = forms.[end_request].Item_ID"
Set rstRequests = db.OpenRecordset(mySQL)
wrkspace.BeginTrans
With rstItems
.Index = "PrimaryKey"
.Seek "=", Item_ID
.Edit
!Available = True
!Building_ID = Me.Building_ID
!Room_ID = Me.Room_ID
.Update
End With