RecordCount with LocalMasterDetail set

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Gigasoft
Posts: 13
Joined: Fri 14 May 2010 06:32

RecordCount with LocalMasterDetail set

Post by Gigasoft » Sun 26 Sep 2010 23:42

I've just noticed that when you have the LocalMasterDetail option set on a detail table, the RecordCount property is always the full number of records in the table, not the filtered number.
Just curious whether this is the desired behaviour, or if its a bug?

AndreyZ

Post by AndreyZ » Wed 29 Sep 2010 11:43

Hello,

I could not reproduce the problem.
Please, supply me the following information:
- the exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- the exact version of your IDE.

Gigasoft
Posts: 13
Joined: Fri 14 May 2010 06:32

Post by Gigasoft » Wed 29 Sep 2010 22:32

MyDAC version 6.00.0.1
Delphi 7 Enterprise

Maybe I should also mention that CachedUpdates is TRUE also.

AndreyZ

Post by AndreyZ » Mon 04 Oct 2010 11:35

I still couldn't reproduce the problem.
Please, send me a small sample to andreyz*devart*com to demonstrate the problem, including a script to create and fill the tables.

Post Reply