io mi creerei una function
mytype indica il tipo di variabile che è nel tuo caso cliente
private function ricerca(testo as string, container as mytype) as boolean
if container.bla = testo then ricerca = true
if container.blabla = testo then ricerca = true
...
if container.blablabla = testo then ricerca = true
end function
poi nel tuo codice ci batti un
if ricerca(quelchevuoi,cliente) = TRUE THEN
..
|