Ver Mensaje Individual
  #1  
Antiguo 15-06-2011
Rofocale Rofocale is offline
Miembro
 
Registrado: mar 2010
Posts: 182
Reputación: 15
Rofocale Va por buen camino
Token unknown - line 2, column 34 ,.

Token unknown - line 2, column 34 ,.

Código Delphi [-]

var
sdteFechaPago : TDateTime;
......
 sdteFechaPago := StrToDate(txtFechaAb.Text);
......
 Close;
            SQL.Clear;
            SQL.Add('INSERT INTO xcobrarpagos (xcobrar, numero, fecha, importe, interes, interesmorat, tipopago, comentario) VALUES(');
            SQL.Add(sCredito + ',' + IntToStr(iNumero) + ',''' + FormatDateTime('mm/dd/yyyy', sdteFechaPago) + ''',' + sImporte + ',' + sInteres + ',' + sInteresMorat + ',' + sTipoPago + ',''' + sComentario + ''')');
            ExecSQL;

que es lo que esta mal en este codigo alguien me hecha un cable ?
Responder Con Cita