A TnxCompKeyDescriptor object owns a list of KeyFieldDescriptors, one for each field in the index. There are three types of KeyFieldDesctiptors: Comp, Text, and ExtText. The TnxCompKeyFieldDescriptor is used for all non-text comparisons, the TnxTextKeyFieldDescriptor is used for non-localized string comparisons, and TnxExtTextKeyFieldDescriptor is used for localized comparisons. See the windows SDK help file's CompareString topic, accessible from your Delphi or C++Builder's Help menu, for more info about the many options available on the localized sort. The KeyFieldDescriptor objects contain ascending or descending sort info for its field, this means that an index can have one field sort ascending, and another one descending.

Home | Site Contents | Documentation | NexusDB Manual V4 | Delphi Guide | Code Examples & Fragments | How to create Indices?