oracle, sqltimestamp and refresh method exception
Posted: Wed 15 Oct 2014 10:59
Hello
UNIDAC 5.5.12
prvider : oracle
i'm trying to run this code :
and i get error "cannot convert type" on uq4.Refresh;
why ?
thank you
UNIDAC 5.5.12
prvider : oracle
i'm trying to run this code :
Code: Select all
uq4:=tuniquery.Create(nil);
uq4.Connection:=dm1.uc_main;
uq4.SQL.Add('select current_timestamp as cs from dual');
uq4.Open;
showmessage(uq4.FieldByName('cs').asstring);
uq4.Refresh; // ERROR
showmessage(uq4.FieldByName('cs').asstring);
uq4.Close;
uq4.Free;
why ?
thank you