I have two text boxes that I would like to filter based on what is entered on a previous form but for some reason I can't get it to work.
This is what I have so far I am new at this so I probably have it written incorrectly.
Dim db As DAO.Database
Dim rs As DAO.Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("qry_Quality_Scores", dbOpenDynaset)
With rs
Do Until .EOF
.Edit
.Fields("EvaluatorName"
= Forms!frm_Switchboard!Team_Leader
.Fields("EmployeeName"
= Forms!frm_Switchboard!Employee
Loop
End With
Set db = Nothing
Set rs = Nothing
This is what I have so far I am new at this so I probably have it written incorrectly.
Dim db As DAO.Database
Dim rs As DAO.Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("qry_Quality_Scores", dbOpenDynaset)
With rs
Do Until .EOF
.Edit
.Fields("EvaluatorName"
.Fields("EmployeeName"
Loop
End With
Set db = Nothing
Set rs = Nothing