Powertable search function

A few weeks ago I made a CRUD page in Vision and included a “search” functionality. Because the PowerTable is populated with a SQL query binding I made it work by simply changing the where clause on the binding. You choose a column, enter your search criterion and press a search button that changes some properties en refreshes the binding.

I was wondering if there was a better way to do this in Vision. Has anyone ever done something similar before? Any ideas or suggestions?