Invalid RecordCount within complicated query

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Eventer
Posts: 5
Joined: Mon 22 Aug 2005 12:10
Contact:

Invalid RecordCount within complicated query

Post by Eventer » Fri 04 Nov 2005 07:39

Win2000 + D6 + dbxsda.dll v2.50.6.0
When executing enough complicated (tables more then 2 with inner and outer joins) query resultset is not valid. RecordCount is less then it has to be. What's wrong here? I've got this situation using TSQLCLientDataSet.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 04 Nov 2005 10:27

Please send to us (dbxsda*crlab*com) small test project to reproduce the problem; it is desirable to use Northwind objects otherwise include definition of your own database objects; don't use third party components

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 14 Nov 2005 15:21

Thank you for your sample. It did help us very much.
Problem is in indexes and MIDAS. To avoid the problem just set poRetainServerOrder> flag in SQLClientDataSet.Options.

Post Reply