I have a form with a combo box used to lookup a Formula Name.
The below works. However, it is rigid and precise. EG if I type Black, then i get all formula names that begin with black.
But i want Black anywhere within the formulaname. EG Black pepper or maybe Pepper ground Black. I would want to see both name to pick from. How can i improve the below After Update?
Private Sub CboFormulaNameFilter_AfterUpdate()
DoCmd.ApplyFilter , _
"[Description] = Forms![frmPriceSpecificMain]![cboFormulaNameFilter]"
Me.CboFormulaNameFilter = Null
End Sub
thanks
The below works. However, it is rigid and precise. EG if I type Black, then i get all formula names that begin with black.
But i want Black anywhere within the formulaname. EG Black pepper or maybe Pepper ground Black. I would want to see both name to pick from. How can i improve the below After Update?
Private Sub CboFormulaNameFilter_AfterUpdate()
DoCmd.ApplyFilter , _
"[Description] = Forms![frmPriceSpecificMain]![cboFormulaNameFilter]"
Me.CboFormulaNameFilter = Null
End Sub
thanks