Hello All,
I have created a combo box that represents the status of a form (OPEN or CLOSED). What I am trying to make happen is that when the combo box gets updated to "closed" I would like the current date to automatically be filled into another form. I have created some basic code in VBA but having no experience with it doesnt help. Here is the code I have so far:
Private Sub Combo104_AfterUpdate()
If (Forms![RMA].Combo104.Value = "Closed") Then
Forms![RMA Log]![ClosedDate] = Date
DoCmd.RunCommand acCmdSaveRecord
End If
End Sub
When I try and save the record I get a run-time error of 7878: The data has been changed. Any suggestions would be greatly appreciated!!
Thanks in advance!