Private Sub SearchCombo()
Dim sql As String
sql = "SELECT*FROM SecName WHERE[NameEmp]='" & Me.Combo1 '"
Forms!Frm_SearchCombo!Frm_Search.Form.RecordSource = sql
Forms!Frm_SearchCombo!Frm_Search.Form.Requry
End Sub
Private Sub Combo1_AfterUpdate()
SearchCombo
End Sub