Denise2020
Member
- Local time
- Today, 14:13
- Joined
- Mar 31, 2020
- Messages
- 82
I have a search string connected to a text field on a form and it searches many of the controls on the form and works very nicely. It is on another computer so I cannot copy and paste it here easily but it is in the form of
strSearch = "SELECT * from qry where ((objID like ""*" & strText & "*"") OR... and continues to include all of the controls I want to be included in the search.
Is there a way to search that would include partial matches? Example: search for Object-7, returns not only Object-7 but also Object7 and Object 7, and ideally even Obj7, Obj-7, and Obj 7?
Thanks!
strSearch = "SELECT * from qry where ((objID like ""*" & strText & "*"") OR... and continues to include all of the controls I want to be included in the search.
Is there a way to search that would include partial matches? Example: search for Object-7, returns not only Object-7 but also Object7 and Object 7, and ideally even Obj7, Obj-7, and Obj 7?
Thanks!