Hello,
I have created a delete selection in my combo box on my form. When I choose delete from the dropdown from the combo box in the form the job from both the table and the form should be gone.
Here is what I have thus far:
Private Sub Combo16_CmdOk()
If Me.Combo16 = "Delete"
Then DoCmd.RunCommand acCmdDeleteRecord
End If
End Sub
This seems to be deleting the job from the form but it is still in my table. How do I get rid of them both?
I have created a delete selection in my combo box on my form. When I choose delete from the dropdown from the combo box in the form the job from both the table and the form should be gone.
Here is what I have thus far:
Private Sub Combo16_CmdOk()
If Me.Combo16 = "Delete"
Then DoCmd.RunCommand acCmdDeleteRecord
End If
End Sub
This seems to be deleting the job from the form but it is still in my table. How do I get rid of them both?