Ver Mensaje Individual
  #2  
Antiguo 16-05-2006
Avatar de noshy
noshy noshy is offline
Miembro
 
Registrado: jul 2003
Posts: 139
Reputación: 21
noshy Va por buen camino
Proba con esto
Esto busca dentro del registro y dentro del campo:

Código Delphi [-]
if pos('0',Query1['cant']) > 0 then
  //hay cero
else
  //no hay cero

Ahora si queres buscar en la tabla completa proba con esto

Código Delphi [-]
if Pedidos.Locate('cant','0',[loCaseInsensitive]) then
__________________
\_--> NoShY <--_/

Última edición por noshy fecha: 16-05-2006 a las 16:48:11.
Responder Con Cita