Findkey in Cloned DataSet work?

Findkey in Cloned DataSet work?

Hello, I would like to confirm a question.
Does the FindKey method work on a cloned dataset?

In my tests, it does not work.

In the IBDAC documentation, a restriction is that the cloned dataset does not allow the use of filters. Is the fact that FindKey does not work due to this restriction?

Sample:

  1. var
  2.    LDataSet1, LDataSet2: TIBCQuery;

  3. LDataSet1.SQL := 'new SQL';
  4. LDataSet1.Open;

  5. LDataSet2.CloneCursor(LDataSet1);
  6. LDataSet2.FindKey([1]);
Return from test:




Thanks.