This is great, but how could I run a search on my database and prepopul