Saludos.
Con algo así...
Código Delphi [-]
'SELECT * FROM AGENDA WHERE Telefono1 LIKE ' + QuotedStr('%' + EditTelefono.Text + '%') +
' OR Telefono2 LIKE ' + QuotedStr('%' + EditTelefono.Text + '%') +
' OR Telefono3 LIKE ' + QuotedStr('%' + EditTelefono.Text + '%') +
' OR Telefono4 LIKE ' + QuotedStr('%' + EditTelefono.Text + '%')
-
__________________
"constructive mind, destructive thoughts"
Última edición por TOPX fecha: 28-01-2013 a las 21:23:12.
Razón: Sintaxis.
|