Ver Mensaje Individual
  #5  
Antiguo 25-10-2006
CrazySoft CrazySoft is offline
Miembro
 
Registrado: abr 2005
Posts: 100
Reputación: 22
CrazySoft Va por buen camino
Hola, me pareces que art no esta defino, prueba de esta manera
Código Delphi [-]
 
AdOQuery1.Active:= FALSE; 

ADOQuery1.SQL.Clear; 

ADOQuery1.SQL.Add('SELECT (producto) as art, (codigo) as C, (grupo) as g FROM artic WHERE producto =:MyParam '); 

AdoQuery1.Parambyname('MyPAram').asstring:='correa' ADOQuery1.Active:= TRUE;

Última edición por CrazySoft fecha: 08-04-2007 a las 17:30:33.
Responder Con Cita