TUniTable locate problem

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
testpresta
Posts: 32
Joined: Sat 07 Jun 2014 19:41

TUniTable locate problem

Post by testpresta » Fri 20 Jun 2014 10:24

Hello

I want to do a locate on multiple fields.
locate seems to accept an array of values but i don t manage to do it.
Is there an example somewhere ?

Thanks

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: TUniTable locate problem

Post by PavloP » Fri 20 Jun 2014 10:59

You can find a sample of using Locate by several fields in our documentation at
http://www.devart.com/unidac/docs/index ... tions).htm


.

testpresta
Posts: 32
Joined: Sat 07 Jun 2014 19:41

Re: TUniTable locate problem

Post by testpresta » Fri 20 Jun 2014 12:08

Thanks

Do you know if it is necessary to order by rows with search fields used as criteria for locate ?

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: TUniTable locate problem

Post by PavloP » Fri 20 Jun 2014 14:22

Order by fields is not necessary for the Locate method, but if you order by these fields, Locate will be executed faster.

Post Reply