With keys, the differences are:
- Using Btrieve v5.x or earlier, the total number of key components per file (a normal key has one component, a split key has more than one) cannot exceed 24. So, you can have one key of 24 components, 24 keys of one component or any combination of these.
- Using Btrieve v6.x or later, the maximum number of key components depends on the page size of the file. The page size of a file can be specified via the Btrieve environment variable, BTRPAGE or via the Xfh2btr configuration file. For files with a page size of 4096 bytes, the maximum number of key components is 119. See your Btrieve documentation for more details.
- The Xfh2btr module does not verify the number of key components in the file; if your version of Btrieve does not support the required number of key components then any error returned from the Btrieve run-time system is reported to your application program
- The total length of any key in a Btrieve file cannot exceed 255 bytes
- All keys in a Btrieve file must be completely contained in the fixed part of a variable length file
- Using Btrieve, you cannot perform a START operation with a part-key; you must use the whole key