#1 2017-12-21 23:09:50

amsdev
Member
Registered: 2011-09-16
Posts: 23

TSynBinaryDataSet.Locate not working ?

Hi,

I execute query and get DataSet this way:

ResDM:=ToDataSet(MainFrm,DBConnection.ExecuteInlined('SELECT * FROM Table',true));

Now I need to perform Locate on this dataset like this:

ResDM.Locate('ID',10,[]);

But it's always cant' find record and return false. Why ? TSynBinaryDataSet not supports Locate ?

Thanks for help !

Offline

#2 2017-12-22 08:25:44

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,242
Website

Re: TSynBinaryDataSet.Locate not working ?

IIRC it is documented that it doesn't support lookup/locate yet. At least not tested (we don't use it).
Any contribution is welcome.

Offline

Board footer

Powered by FluxBB