Hi there,
I have a text box on my main form, that filters records on a subform, where its record source is a query.
The text box works okay for filtering, however it is not doing something that I would like it to.
Say we have these records
TM STEELS
TM Steels
If I was to type in STEELS, then only the top record would be displayed, likewise, if I typed in Steels, only the bottom would be displayed.
What I would like, is if you were to type steels, for example, both of the records would be displayed.
In the criteria of the field this is based on, in the query, I have:
Code:
Like "*" & [Forms]![MainWindow].[NameTxt] & "*"
As I say, this works for bringing in results that EXACTLY match the text entered in the text box, but I want it to work as explained above.
If you need any more information, please do not hesitate to ask.
Thanks everyone! D