Set dropdown menu based on query result

I'm not certain exactly what you're trying to accomplish.