Master/Detail issues

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kurtbilde
Posts: 114
Joined: Wed 16 Mar 2005 16:02
Location: Odense, Denmark

Master/Detail issues

Post by kurtbilde » Sat 15 Sep 2007 18:21

Hi!

Just doing a normal master/detail, but keep on having ORA-00900 error when trying to fire an update-script. Having issue with a Field called ID, a VarChar2(20) field - suspecing it to be the matter.

Delphi 2007, ODAC 6.1.10.

-Kurt

kurtbilde
Posts: 114
Joined: Wed 16 Mar 2005 16:02
Location: Odense, Denmark

Post by kurtbilde » Sat 15 Sep 2007 18:25

BTW: My statement is working in Oracle SQL Developer. My OraSQL1 sql is looking like this:

UPDATE PURE.TAB1999_2003_SVAR SET
A = :STATUS
WHERE "Id" = :Nummer

With code looking like this:

OraSQL1.Params[0].Value := CurrentStatus;
OraSQL1.Params[1].Value := ID;
OraSQL1.Execute;

-Kurt

kurtbilde
Posts: 114
Joined: Wed 16 Mar 2005 16:02
Location: Odense, Denmark

Post by kurtbilde » Sun 16 Sep 2007 17:09

When using Number(6,0) insted of VarChar2 the issue disapears...

-Kurt

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

Post by Plash » Mon 17 Sep 2007 09:15

We could not reproduce the problem. Please send to odac*crlab*com a complete small sample that demonstrates the problem, including script to create server objects.

Post Reply