Ver Mensaje Individual
  #21  
Antiguo 07-02-2010
aanil aanil is offline
Miembro
 
Registrado: abr 2006
Posts: 155
Reputación: 21
aanil Va por buen camino
Hola Caral..

Realmente con el primer codigo se ejecuta, luego cuando pasa al segundo codigo se produce el error.

Lo hice solo con uno solo así:
Código SQL [-]
 datam.Query2. sql.Text := 'Update 20092 set practica = '+datam.Query1Practica.AsString+' where matricula = '+QuotedStr(datam.Query1matricula.AsString);
 datam.Query2.ExecSQL;
y fiunciona correctamente.

Donde esta el Maco?

Aanil
Responder Con Cita