Ver Mensaje Individual
  #1  
Antiguo 27-06-2007
ancara ancara is offline
Miembro
 
Registrado: may 2007
Posts: 22
Reputación: 0
ancara Va por buen camino
¿Sentencia sql muy larga?

Es posible que no se ejecute una sentencia sql por ser demasiado larga?

el código es el siguiente:

vformulariofactura.consulta.SQL.Add('update tblineafactura set precioud='+vformulariofactura.precio.Text);
vformulariofactura.consulta.SQL.Add(' where numerolinea='+modulodatos.tblineafacturanumerolinea.asstring);
vformulariofactura.consulta.SQL.Add(' and numerofactura='+modulodatos.tblineafacturanumerofactura.asstring);
vformulariofactura.consulta.SQL.Add(' and ejercicio='+modulodatos.tblineafacturaejercicio.asstring);

// ejecución
vformulariofactura.consulta.ExecSQL;


no saltan errores y me devuelve correctamente a otros formularios.
¿Que puede pasar?
Responder Con Cita