Page 1 of 1

BaseSql - bug???

Posted: Wed 14 Jun 2006 08:58
by Marcel W
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

Posted: Wed 14 Jun 2006 14:36
by Challenger
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.