Need Help!
How to Delete Sub-Form Record From Main Form?

I Solved The Task!


I Did So:
Dim Ctrl As Control
Set Ctrl = Screen.PreviousControl
If Ctrl.Name = "Sub-FormName" Then
Ctrl.SetFocus
DoCmd.RunCommand acCmdDeleteRecord
End If