C
Chris hillman
Hello All,
I currently have a form that you fill in, and im wanting it to amend a
RecordSet(table) when the save button is hit.
So when the code runs, I need it to look up the ID on the form and find the
record set in the table, and then if its the same then whizz in the values.
Problem Im having it I can't see to find the record set to edit.
With rstTeam
.FindFirst "[Variable] = 'Team_ID' "
If .NoMatch Then
MsgBox "Please come again"
Else
.Edit
!Team_Name = [Team_Name]
!eMail =
!Hidden = [tglHide]
.Update
End If
I currently have a form that you fill in, and im wanting it to amend a
RecordSet(table) when the save button is hit.
So when the code runs, I need it to look up the ID on the form and find the
record set in the table, and then if its the same then whizz in the values.
Problem Im having it I can't see to find the record set to edit.
With rstTeam
.FindFirst "[Variable] = 'Team_ID' "
If .NoMatch Then
MsgBox "Please come again"
Else
.Edit
!Team_Name = [Team_Name]
!eMail =
!Hidden = [tglHide]
.Update
End If