Ver Mensaje Individual
  #1  
Antiguo 03-12-2012
MoisesGeek666 MoisesGeek666 is offline
Registrado
NULL
 
Registrado: oct 2012
Posts: 4
Reputación: 0
MoisesGeek666 Va por buen camino
Hola Tengo un error con mi programa delphi sql

Miren alguien me puede ayudar me da este error project proyecto.exe raised exception class eoleexception with message ' 2 campos tiene destinos diferentes no entiendo esta parte alguien me ayuda ?Viene un archivo adjunto que es la imagen de el problema. AYUDA :C
codigo:
begin
{Conformar_Sentencia_SQL}
sql:='insert into pacientes values ( "' + txt1.Text + '", "' + txt2.Text + '", "' + txt3.Text + '", "' + txt4.Text + '", "' + txt5.Text + '", "' + txt6.Text + '", "' + txt7.Text + '")';
{Ejecutar_Sentencia_SQL}
conmenu.Execute(sql);

(AQUÌ MARCA EL ERROR)--- txt1.Text:='';
txt2.Text:='';
txt3.Text:='';
txt4.Text:='';
txt5.Text:='';
txt6.Text:='';
txt7.Text:='';
Imágenes Adjuntas
Tipo de Archivo: jpg Sin título.jpg (23,1 KB, 8 visitas)
Responder Con Cita