IBQuery and Locate sensitive case

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
alexhaifa
Posts: 18
Joined: Thu 29 May 2014 12:48

IBQuery and Locate sensitive case

Post by alexhaifa » Sat 31 May 2014 16:09

Hello

I have a IBQuery and Locate, my problem is being case sensitive.

My Query has many rows in UPPER CASE and others in Low Case words, the locate is case sensitive and I need to locate the words without this, how to do this?

Thanks
Alexandre

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

Re: IBQuery and Locate sensitive case

Post by PavloP » Mon 02 Jun 2014 14:50

To use the Locate method in the case-insensitive mode, add the loCaseInsensitive constant to the Options parameter of this method:

Code: Select all

IBCQuery1.Locate(FieldName, KeyValue, [loCaseInsensitive]);
See more details in our documentation:
http://www.devart.com/ibdac/docs/index. ... tions).htm

alexhaifa
Posts: 18
Joined: Thu 29 May 2014 12:48

Re: IBQuery and Locate sensitive case

Post by alexhaifa » Mon 02 Jun 2014 19:44

Thanks very much

You're right!! I had forgotten about this :))

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

Re: IBQuery and Locate sensitive case

Post by PavloP » Tue 03 Jun 2014 09:39

Feel free to contact us if you have any further questions.

Post Reply