.AsString Delphi 2009 direct mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
hannes_a
Posts: 77
Joined: Sun 22 Jan 2006 20:44
Location: munic

.AsString Delphi 2009 direct mode

Post by hannes_a » Fri 20 Mar 2009 17:05

When I use a single select with a string param

Code: Select all

Query.sql.add('select * form tab where field = :field');
Query.parms[0].AsString := 'abc';
works with OCI properly but in direct mode it doesn't find the record :cry:

I found in direct mode

Code: Select all

Query.parms[0].AsAnsiString := 'abc';
helps, but I've thousands places in sourcecode to change, so it's no good workaround for me and I can't switch easy from 2007 to 2009

Is there a more elegant way, or do you solve this in next version, where I've not to change my sourcecode ?

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

Post by Plash » Wed 25 Mar 2009 09:28

We have reproduced this problem, and we are working on it. You will be notified when we fix the problem.

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

Post by Plash » Thu 16 Apr 2009 08:50

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

robert.wachtel
Posts: 13
Joined: Wed 12 Oct 2005 13:41

Post by robert.wachtel » Wed 27 May 2009 13:43

Plash wrote:We have fixed this problem. The fix will be included in the next build of ODAC.
I recently ran into the same problem. When do you plan to release the next build?

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

Post by Plash » Thu 28 May 2009 06:35

We have already released the new build.

Post Reply