Icon IsValidLocaleConstant Method

bool __fastcall IsValidLocaleConstant(const
      System::UnicodeString LocaleConstant)

Usage

Use the IsValidLocaleConstant method to verify whether a specific locale name is valid and available through the operating system. Many SQL statements in DBISAM require the name of a locale as part of a LOCALE clause, and this method can help verify a locale name prior to being used in a dynamic SQL statement.

Information This method will only consider one locale, 'ANSI Standard' (ID of 0), as valid under Kylix and Linux since that is the only locale available currently under Linux for DBISAM.
Image