I have a main form1 (formview) and a subform2 (datasheetview) based on the same query like a splitform.
In the main form1 i have a textbox that i want to use like a searchbox for the subform2.
This searchbox has to filter the subform2 datasheet by searching in 3 different fields (name, type, number) and when finding a record that matches the searchbox's value, it has to filter the datasheet by this value.
I tried with macro Applyfilter and VBA but didn't succed.. Can someone help me?