Doing dynamic search and using macro sc_select_where(add) at the same time is not possible. An error comes up when search is applied. Look at the attached image.
It seems that the ‘where clause’ is not well formed in the query.
Tested in Google Chrome.