Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Go Back   Foros Club Delphi > Bases de datos > Firebird e Interbase
Register FAQ Members List Calendar Guía de estilo Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04/12/2005
Héctor Randolph's Avatar
[Héctor Randolph] Héctor Randolph is offline
Miembro Premium
 
Join Date: Dec 2004
Posts: 882
Poder: 22
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
Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 11:36.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi