Page 1 of 1

EntityTable / EntityQuery how to find a record using a KeyField

Posted: Thu 15 Jan 2015 16:06
by abnerh69
Hi,

Who can I find a record in a TEntityTable / TEntityQuery datasets using a primary key field?

Thanks

Re: EntityTable / EntityQuery how to find a record using a KeyField

Posted: Fri 16 Jan 2015 09:08
by AlexP
Hello,

Since TEntityDataSet is a descendant from TDataSet, you can use the Locate standard method to navigate to a required record.