Dropdown list SQL query problem

Hi!

Thank You!
I got it to work.
I used the replace-expression for a custom property.
Then I added the property to the SQL-query.

Works nicely!