Ver Mensaje Individual
  #1  
Antiguo 04-04-2011
Avatar de turbopascual5.0
turbopascual5.0 turbopascual5.0 is offline
Miembro
 
Registrado: feb 2011
Posts: 54
Reputación: 16
turbopascual5.0 Va por buen camino
problema con where y dos condiciones and

Hola a todos. El siguiente código:

pregunta.SQL.Add('select * from linea_electro where id_el = arametro and id_el<>0' ) ;
pregunta.SQL.Add(' and estado=');
pregunta.SQL.Add('Pendiente de recepción');

error sintaxis incorrecta cerca de de

he probado todo y no consigo que funcione.

Gracias de antemano
Responder Con Cita