|
probelma con date en paradox
estoy intentando hacer un alta de registro y me tira el siguiente error
TYPE MISSMATCH IN EXPRESSION
qryDebe.SQL.Text := 'INSERT INTO debes.db
(IDCliente,IDProducto,Recargo,Descuento,Total,Factura,Fecha,Detalle)
VALUES ('+ID.text+','+IDProducto.text+','+Recargo.text+','+Descuento.text+','+TotalNeto.text+',"'+NroFactur a.text+'",
"'+datetostr(fecha.date)+'","'+detalle.text+'")';
qryDebe.ExecSQL;
Fecha es un TDateTimePicker
y el campo Fecha es DATE en la paradox.
que puede ser el error ?
|