EntityTable / EntityQuery how to find a record using a KeyField

EntityTable / EntityQuery how to find a record using a KeyField

Postby abnerh69 » Thu 15 Jan 2015 16:06

Hi,

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

Thanks
abnerh69
 
Posts: 7
Joined: Tue 06 Jan 2015 15:58

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

Postby AlexP » Fri 16 Jan 2015 09:08

Hello,

Since TEntityDataSet is a descendant from TDataSet, you can use the Locate standard method to navigate to a required record.
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC