I have break VBA code but it does not work
Code:
Private Sub cmdsearch_Click() Dim strSearch As String 'Declare the variable strSearch as data type string Dim strText As String 'Declare the variable strText as data type string strText = Me.txtSearch.Value 'The value from the text box txtSearch is assigned th 'the varuable strSearch strSearch = "SELECT *FROM tblSupplier where ((SupplierID Like ""*" & strText "*"")Or _ (Company Like ""*" & strText "*"") or (FirstName Like ""*" & strText "*"")Or _ (LastName Like ""*" & strText "*"") or (BusinessPhoneLike ""*" & strText "*"") Or _ (Address Like ""*" & strText "*"")or (City Like ""*" & strText "*"")" End Sub
Comment