Ver Mensaje Individual
  #4  
Antiguo 15-06-2010
cloayza cloayza is offline
Miembro
 
Registrado: may 2003
Ubicación: San Pedro de la Paz, Chile
Posts: 922
Reputación: 23
cloayza Tiene un aura espectacularcloayza Tiene un aura espectacular
Sugiero la siguiente modificacion...
Código Delphi [-]
procedure TForm1.Insertar;
begin
  with QueryPac do
  begin
    SQL.Add('INSERT INTO Pacientes(NOMBRE, CAMPO_BIT)');
    SQL.Add('VALUES(' + QuotedStr(Edit3.Text)+ ', ' + IntToStr(Integer(CheckBox1.Checked)) + ')');
  end;
end;

Saludos
Responder Con Cita