Hi @MajP
I have applied your code to my application, it works and help to avoid the error 2185.
However, I would prefer a blank window on my subform if filter returns no record.
So in my case, i found a solution that is moving the searchbox to parent form and apply filter like...