Ver Mensaje Individual
  #2  
Antiguo 04-12-2005
Avatar de Héctor Randolph
[Héctor Randolph] Héctor Randolph is offline
Miembro Premium
 
Registrado: dic 2004
Posts: 882
Reputación: 20
Héctor Randolph Va por buen camino
Ejemplo

UItiliza el componente TIBSQL, te dejo un ejemplito para que lo pongas en práctica:

Código Delphi [-]
  with IBSQL1 do
  begin
    SQL.Add('INSERT INTO tabla');
    SQL.Add('campo1,campo2');
    SQL.Add('VALUES (:Param1,:Param2)');
    ParamByName('Param1').AsInteger=1;
    ParamByName('Param2').AsString:='Algo';
    ExecQuery;
  end;

Un saludo
Responder Con Cita