Can you please let me know what is the relationship between Project and Customer? Is it a simple lookup or one to many? Also, what is the Items property of the gallery? Let me know and I can suggest you a couple of different options.
--- If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Basically I am trying to collect the seach results and then display it in the gallery. the items property of the gallery would be the collection of search result. Example. if i type Mercedes in the search box, it should fetch me all the results of Mercedes into the collection.