I am a bit confused by the code to be honest.
There are two record sets on the page with identical names, so there is a conflict straight away.
The first one seems to be working with a Tom Muck extension to create a dynamic search.
In the second copy of the recordset you are referencing a Web Assist DA Search instance, but you don't have the Web Assist DA Search code on the page? Nor do you have the necessary includes for the Web Assist DA Search.