RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.LocaleCode Property

Identifies the locale that is used for sorting items from datasets that use this connection.

Pascal
property LocaleCode: TLocaleCode;
C++
__property TLocaleCode LocaleCode;

LocaleCode represents the locale that client datasets use to sort strings when they are provided in fields from a dataset associated with this connection. By default, this value is 0, which signals that strings should be sorted without regard to a locale. Changing LocaleCode can affect performance, because sorting is slower when it must take locale into account. Therefore, it is recommended that you only change LocaleCode if the data is known to contain extended characters that will affect the sort order.

Note: Locale codes are treated as connection parameters: they are stored in the dbxconnections.ini
file along with the other parameters, and appear in the Params property list. Changes to this property change the entry in the Params property list.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!