Put data controls on your form and add a few components from DynFilter package.
That's all you need to give to your users all search capabilities they ever need! Not a single line of code to write!