Page 1 of 1

IBQuery and Locate sensitive case

Posted: Sat 31 May 2014 16:09
by alexhaifa
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

Re: IBQuery and Locate sensitive case

Posted: Mon 02 Jun 2014 14:50
by PavloP
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

Re: IBQuery and Locate sensitive case

Posted: Mon 02 Jun 2014 19:44
by alexhaifa
Thanks very much

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

Re: IBQuery and Locate sensitive case

Posted: Tue 03 Jun 2014 09:39
by PavloP
Feel free to contact us if you have any further questions.