Two problems inserting into firebird DB
Posted: 03.07.2009, 08:14
procedure TZAbstractRODataset.SetStatementParams, line 1015
should be "ftCurrency, ftBCD" because currency fields remain NULL otherwise
Did anyone test inserting time values (in delphi, it is double less than 1.0)? I try to record time to a string field and I get date recorded, obviosly because there is no Variant type of time, but only date (I mean TVarRec.VType)
Code: Select all
case Param.DataType of
...
ftCurrency:
Statement.SetBigDecimal(I + 1, Param.AsCurrency);
Did anyone test inserting time values (in delphi, it is double less than 1.0)? I try to record time to a string field and I get date recorded, obviosly because there is no Variant type of time, but only date (I mean TVarRec.VType)