After the update with new ODAC-Build i have a problem with timestamp-fields. In datebase : the value is ".... 00:00'. ODAC read "...01:00".
Can you send me the previous Build of ODAC without this Problem.
I have a time-problem
Thanks
Delphi 7 , Oracle 9.2
Problem with new ODAC-Build
Bug & Fix :
Fieldtype : TimeStamp
Property Format : HH24:MI
read and write with smartquery :
smartquery.fieldbyname ( 'yx' ).AsdateTime := Value;
field-content and result in visual controls
' ....00:00' -> '...01:00'
' ....01:00'- > '...02:00'
"Fix" :
procedure TDModuleDP.pFIBDSTermineDES_TIME_ENDGetText
(Sender: TField;
var Text: String; DisplayText: Boolean);
begin
Text := FormatDateTime ( 'HH:NN' , Sender.AsDateTime );
end;
Fieldtype : TimeStamp
Property Format : HH24:MI
read and write with smartquery :
smartquery.fieldbyname ( 'yx' ).AsdateTime := Value;
field-content and result in visual controls
' ....00:00' -> '...01:00'
' ....01:00'- > '...02:00'
"Fix" :
procedure TDModuleDP.pFIBDSTermineDES_TIME_ENDGetText
(Sender: TField;
var Text: String; DisplayText: Boolean);
begin
Text := FormatDateTime ( 'HH:NN' , Sender.AsDateTime );
end;