You may use variable instead as your filter so binding the procedure is not needed.
Something like this
YourStringFilterVarialble = ‘db:date < ’ & TODAY() & ’ AND ’ & myTest() & ’ = 1’
BRWn.SetFilter(YourStringFilterVarialble)
BRWn.ApplyFilter
It will give you the same result