I've got a subform on a form with a combo box. I want to select a standard number from the box and have the subform only show those records. I've run into a syntax error (missing operator) in query expression. Can someone help?
Private Sub cbo_st_no_AfterUpdate()
Dim standardNo As String
standardNo = "Select * from StandardsList where ([st_no] = " & Me.cbo_st_no & ")"
Me.WhoDoneItSubformy.Form.RecordSource = standardNo
Me.WhoDoneItSubformy.Form.Requery
End Sub