Sub Form_Current()
Dim ParentDocName As String
ID1 = Me.序号这是用于条件格式的判断
On Error Resume Next
ParentDocName = Me.Parent.name
If Err <> 0 Then
GoTo Form_Current_Exit
Else
On Error GoTo Form_Current_Err
Me.Parent![dcmsdjk].Requery
End If
Form_Current_Exit:
Exit Sub
Form_Current_Err:
MsgBox Error$
Resume Form_Current_Exit
End Sub