The length of a binary key must be even. Btrieve requires that each key page in the file is large enough to hold at least eight keys. If the page size is too small to accommodate eight occurrences of the specified key length (plus overhead), either increase the file's page size or decrease the key length. key length added to key offset cannot exceed record length or fixed portion of the record. If you are using 32-bit Visual Basic, then this may be a long variable alignment problem, use 4-byte string instead of long in the key specification structure.
Back to index
Copyright © Madis Kaal 2000-