Ver Mensaje Individual
  #3  
Antiguo 18-11-2004
DEPROE DEPROE is offline
Miembro
 
Registrado: nov 2004
Posts: 10
Reputación: 0
DEPROE Va por buen camino
creo que te sobran comillas y puntoycoma

lo pones asi
flischa.qtotal.SQL[2]:= ' where cod_cha like "%" + :Pcod + "%"; ';

prueba asi
flischa.qtotal.SQL[2]:= ' where cod_cha like ''%' + :Pcod + '%'' ';

si :Pcod = 'hola'

flischa.qtotal.SQL[2] = ' where cod_cha like ''%hola%'' ';

esto debe funcionar
Responder Con Cita