Ver Mensaje Individual
  #3  
Antiguo 07-01-2008
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 30
jachguate Va por buen camino
En este caso, lo que debes hacer es anidar las llamadas:

Código Delphi [-]
if not TCliente.Locate('TELEFONO1', Edit.Text, []) then
  if not TCliente.Locate('TELEFONO2', Edit.Text, []) then
    if not TCliente.Locate('TELEFONO3', Edit.Text, []) then
      ShowMessage('No encontrado');

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita