Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread compare function
Wed, Feb 6 2019 3:33 PMPermanent Link

Iztok Lajovic (1)

Hi,

I need small help how to use the 'compare' function.

In documentation there is description of this function:
function Compare(Value: TDataValue; CaseInsensitive: Boolean=False; LocaleInsensitive: Boolean=False): Integer,

but there is no example how to use it. I want to compare text field 'companyName' in  'dataset1' with text field 'oldCompany' in 'dataset2'. Please for example of adequate statement.

Iztok Lajovic
Fri, Feb 8 2019 1:51 PMPermanent Link

Iztok Lajovic (1)

Hi,

I found the solution so there is no more need for help. Instead of mentioned function I use the 'localeCompareStr' function.

Iztok
Image