I have a split form with a unbound combo box that queries based on the selection. That part queries fine, but I cannot get it to return all records if "All" is selected. I get the following error...
Run-time error 3075
Syntax error (missing operator) in query expression '[Assigned To] = All'
Row Source
SELECT Contacts.ID, Contacts.[Last Name] FROM Contacts; UNION SELECT "All","All" FROM Contacts;
AfterUpdate
Private Sub Combo81_AfterUpdate()
Me.Filter = "[Assigned To] = " & Me.Combo81
DoCmd.RunCommand acCmdApplyFilterSort
End Sub
I am fairly new to Access so please be patient. I am sure this is a easy fix for most of you.