Private Sub cmd_delete_modify_current_Click()
On Error GoTo Err_cmd_delete_modify_current_Click
If MsgBox("所选数据将被删除,是否确定删除该数据?", vbYesNo + vbExclamation, "系统提示") = vbYes Then
Me.待匹配数据用于修改页面子窗体.SetFocus
DoCmd.RunCommand acCmdDeleteRecord
Else
Exit Sub
End If
Me.待匹配数据用于修改页面子窗体.Requery
Exit_cmd_delete_modify_current_Click:
Exit Sub
Err_cmd_delete_modify_current_Click:
MsgBox Err.Description
Resume Exit_cmd_delete_modify_current_Click