Ver Mensaje Individual
  #1  
Antiguo 28-01-2011
Avatar de pacopenin
pacopenin pacopenin is offline
Miembro
 
Registrado: sep 2010
Ubicación: Asturias
Posts: 382
Reputación: 16
pacopenin Va por buen camino
Hola,

Probablemente es que reconoce el caracter "," como decimal. Prueba a sustituirlo por el caracter ".". Algo así :

Código Delphi [-]

Data.sqtrans.SQL.Text:='UPDATE trans SET subtotal='+QuotedStr(
StringReplace(ed5.text, ',', '.',[rfReplaceAll, rfIgnoreCase])) ...
__________________
http://www.gestionportable.com
Responder Con Cita