Problem with defaultvalue

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
caribou
Posts: 1
Joined: Mon 29 Oct 2007 21:02

Problem with defaultvalue

Post by caribou » Mon 29 Oct 2007 21:17

version odac 6.10.1

I've a query with

Code: Select all

 qsoin.sql.text :='SELECT  P_SOIN.*,  ZZ_FAM.LB_FAMILLE
                                FROM  P_SOIN,  ZZ_FAM
                                 WHERE
                                ZZ_FAM.CD_FAMILLE = P_SOIN.CD_FAMILLE';

qsoin.updatingtable:='P_SOIN';
qsoi.defaultvalue:=true;
I' ve a problem with

Code: Select all

qsoin.append;
The default values of the fields are not loaded ?

why? I don't understand

We did not have this problem before update ODAC[/code]

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

Post by Plash » Wed 31 Oct 2007 08:21

ODAC supports default values only for queries with one table. We'll consider possibility to support the DefaultValues option for queries with several tables in either of the next ODAC versions.

Post Reply