Subject | Date Array bug ... IB or IBO? |
---|---|
Author | Tobias Giesen |
Post date | 2000-12-10T04:54:20Z |
Hi,
with IB 6.01, IBO 3.6x, when storing an array field of DATE's / TDateTime's,
the dates are lost, and subsequent reading of the field returns garbage.
This happens even when InterBase doesn't seem to be involved (immediate
write and read), such as:
"from" is a column of type DATE[20].
--------------
tmpVar:Variant;
tmpDt:TDateTime;
begin
tmpVar[1]:='01.01.2000';
{etc.}
qryStuff['from'] := tmpVar;
tmpVar:=qryStuff['from'];
tmpDt:=tmpVar[1];
--------------
tmpDt contains garbage in the end.
Cheers,
Tobias ... a little desperate
with IB 6.01, IBO 3.6x, when storing an array field of DATE's / TDateTime's,
the dates are lost, and subsequent reading of the field returns garbage.
This happens even when InterBase doesn't seem to be involved (immediate
write and read), such as:
"from" is a column of type DATE[20].
--------------
tmpVar:Variant;
tmpDt:TDateTime;
begin
tmpVar[1]:='01.01.2000';
{etc.}
qryStuff['from'] := tmpVar;
tmpVar:=qryStuff['from'];
tmpDt:=tmpVar[1];
--------------
tmpDt contains garbage in the end.
Cheers,
Tobias ... a little desperate