Hi,
I'm trying to build a simple query from a form where I have a combo box listing my clients.
My form is called frmPipelineResults.
In this form I have:
- a combo box named lstClients - row source = SELECT [tblPipeline].[ID], [tblPipeline].[Client Name] FROM tblPipeline ORDER BY [Client Name];
- a subform named subformpipeline with source object Query.qryPipeline
- a command button that says: Private Sub cmdRunQuery_Click()
Me.subformpipeline.Requery
End Sub
In my query qryPipeline I put as criteria [frmPipelineResults]![lstClients]
I'm expecting the subform to display the results of my selection, but unfortunately it doesn't work. What am I doing wrong? (file is attached)
Many thanks for your help