in reply to Search multiple variables

Sure sounds like a database JOIN to me ... why write a custom program to do that?