The following code is now not working ( whereas it was before ) It throws up no errors, and seems to run without a hitch.
the values for the fields to update with, are as they should be ( checking with breakpoint ), and it selects the correct single record ( Dynaset so therefore should be updateable ). Thanks in advance if you can assist.
Code:
If Not (rst1.BOF And rst1.EOF) Then
With rst1
.MoveLast
.MoveFirst
If .RecordCount = 1 Then
.Edit
.Fields("Staff_ID") = staffid
.Fields("CalcStaff_Name") = Me.cboAssigned_To.Text
.Update
End If
End With
End If
End If
End If '
DoCmd.RunCommand acCmdSaveRecord
