[quote=pablonill;249811]Hola, les comento lo siguiente tengo una tabla algo así
Código Delphi
[-]
Código SQL [-]CREATE TABLE prueba
(id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
detalle VARCHAR(45) NOT NULL, PRIMARY KEY (id)
)
Hasta aquí todo bien, el tema es el siguiente cuando en delphi hago lo siguiente.
Código Delphi [-]SqlQuery1.Close;
SqlQuery1.SQL.Clear;
SqlQuery1.SQL.Add('INSERT INTO prueba (detalle) VALUES (:Pr1)');
SqlQuery1.ParamByName('Pr1').Value := Trim(Edit1.Text);
SqlQuery.ExecSQL;
Has probado la opción que subrayo?
Un Saludo.