Ver Mensaje Individual
  #3  
Antiguo 29-07-2008
Gabichu Gabichu is offline
Miembro
 
Registrado: jul 2008
Posts: 10
Reputación: 0
Gabichu Va por buen camino
La linea del problema

Código Delphi [-]
modifventa2.SQL.Add('update venta set TOT_FINANCIACION='+floattostr(totFinanc)+',TOTLETRAS='+texto+' where cod_venta='+ventas.Fields[0].AsString);
La linea corregida
Código Delphi [-]
modifventa2.SQL.Add('update venta set TOT_FINANCIACION='+floattostr(totFinanc)+',TOTLETRAS='''+texto+''' where cod_venta='+ventas.Fields[0].AsString);

Gracias por la ayuda pude resolver mi pequeño inconveniente..
El problema eran las comillas. esto '+texto+' se convirtio en esto '''+texto+''' y asunto solucionado...

Última edición por Gabichu fecha: 29-07-2008 a las 20:04:20. Razón: Mensaje incompleto
Responder Con Cita