Private Sub Command53_Click()
Dim s条件 As String
If Len(Nz(Me.Text77)) > 0 Then
s条件 = "WHERE InStr(1,[维保工号],'" & Me.Text77 & "')"
Me.施工单查询_子窗体.Form.RecordSource = "Select * From 施工单 " & s条件
Me.施工单查询_子窗体.Requery
Else
MsgBox "请输入查询条件", vbInformation
End If
End Sub