Ver Mensaje Individual
  #1  
Antiguo 11-11-2011
carlosjaraba carlosjaraba is offline
Registrado
 
Registrado: jul 2008
Posts: 6
Reputación: 0
carlosjaraba Va por buen camino
Thumbs up

amigos, todo parecia ir muy bien hasta que me tope con lo siguiente
me sale un error

undechlared identifier ParamByName
undechlared identifier AsString

este es mi codigo

por fin cai en cuenta de lo de ponerle el tag yo quedaba


Código Delphi [-]
With ADOQuery1 do
  begin
    Sql.Text:='Insert into COMPATIBILIDAD (MODELO,INSUMO,COMPATIBLE) values(:variable1,:variable2,:VARIABLE3)';
    ParamByName('VARIABLE1').AsString:= EDTMODELO.Text;
     ParamByName('VARIABLE2').AsString:= EDTINSUMO.Text;
      ParamByName('VARIABLE3').AsString:= EDTCOMPATIBLE.Text;

    ExecSql;
  end;
Responder Con Cita