|
¿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?
|