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...