@Jjenglert thanks the question can be seen here Custom SQL and ParamUrl OR Record:field_value
Thanks!