Error in RefreshRecord

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sergeyNZ
Posts: 1
Joined: Fri 26 Oct 2007 09:58

Error in RefreshRecord

Post by sergeyNZ » Fri 26 Oct 2007 11:03

Upgrade from 5.70 to 6.20

anytable - any table in database which have column with type Date
dat - any column with type Date

OraQuery->Active = false;
OraQuery->SQL->Text = "select a.rowid, a.* from anytable a where dat=to_date(:dat,'dd.mm.yyyy');
OraQuery->SQLRefresh = WHERE ROWID = :Old_ROWID";
OraQuery->ParamByName("dat")->AsString = "01.01.2007";//any date
OraQuery->Active = true;
OraQuery->RefreshRecord();
//ERROR ORA-01830 date format picture ends before converting entire input string

Why???
In 5.70 it's ok.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 08 Nov 2007 13:02

We have fixed this problem. The fix will be included in the next build of ODAC.

Post Reply