CBAM
This commit is contained in:
@@ -265,7 +265,7 @@ Public Class MySearchBox
|
||||
If srch <> "" And SQL_WhereParamList.Count > 0 Then 'erster Suchparameter
|
||||
SQLstr &= " AND ( 1<>1 "
|
||||
For Each s In SQL_WhereParamList
|
||||
SQLstr &= " OR " & s & " LIKE '" & srch & "%' "
|
||||
SQLstr &= " OR " & s & " LIKE '" & srch.Replace("*", "%") & "%' "
|
||||
Next
|
||||
SQLstr &= " ) "
|
||||
End If
|
||||
@@ -273,7 +273,7 @@ Public Class MySearchBox
|
||||
If srch2 <> "" And SQL_WhereParamList.Count > 0 Then 'Wenn zweiter Suchparameter
|
||||
SQLstr &= " AND ( 1<>1 "
|
||||
For Each s In SQL_WhereParamList
|
||||
SQLstr &= " OR " & s & " LIKE '" & srch2 & "%' "
|
||||
SQLstr &= " OR " & s & " LIKE '" & srch2.Replace("*", "%") & "%' "
|
||||
Next
|
||||
SQLstr &= " ) "
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user