After an Event, I am trying to Update certain data for a record in a table. here is the code I've been able to come up with so far:
Dim dbsGeneric As Object
Dim rstTM As Object
Set dbsGeneric = CurrentDb
Set rstTM = dbsGeneric.OpenRecordset(“tblTestMatrix”)
rstTM.Sequence = Me.Sequence
rstTM(“Approved”) = True
rstTM.Update
rstTM.Close
dbsGeneric.Close
I could use some help to select the record that I want to Update and to complete the Update process. . . Thanks.
Dim dbsGeneric As Object
Dim rstTM As Object
Set dbsGeneric = CurrentDb
Set rstTM = dbsGeneric.OpenRecordset(“tblTestMatrix”)
rstTM.Sequence = Me.Sequence
rstTM(“Approved”) = True
rstTM.Update
rstTM.Close
dbsGeneric.Close
I could use some help to select the record that I want to Update and to complete the Update process. . . Thanks.