Private Sub PR_DblClick(Cancel As Integer)
Dim frm1 As Form
On Error Resume Next
Form_R1采购控制中心.R1子窗体1.SetFocus
Forms("R1采购控制中心").Controls("R1子窗体2").Form.Visible = False
Set frm1 = Forms("R1采购控制中心").Controls("R1子窗体1").Form
frm1.Filter = "合同订单号='" & Me![合同订单号] & "'"
frm1.FilterOn = True