BaseSql - bug???

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Marcel W
Posts: 1
Joined: Wed 14 Jun 2006 08:51

BaseSql - bug???

Post by Marcel W » Wed 14 Jun 2006 08:58

Hi,

I downloaded the latest version of ODAC (5.70.1.33), but my software is not working correct now.

I found the bug: the 'BaseSQL' of my 'TOraQuery' is empty!

I installed the older version again (5.55.0.19) and this problem is solved now.

My code:

Code: Select all

    OraQueryDiarySel.close;
    OraQueryDiarySel.DeleteWhere;
    OraQueryDiarySel.sql.Clear;
    OraQueryDiarySel.sql.Append( OraQueryDiarySel.BaseSql );
After this code, my OraQueryDiarySel.sql is empty.

So I have to use this older version again.

Kind regards,

Marcel

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 14 Jun 2006 14:36

We changed behavior of BaseSQL property because it was incorrect. For backward compatibility we added
global variable BaseSQLOldBehavior to tune it. We suggest you to modify your code to work with new and more correct behavior.

Post Reply