BltIx4StoreKey


< Prev  TOC  Next >

TBLT_RETC TBLT_ENTRY BltIx4StoreKey(TBLT_KH *khPtr,
                                    VOID *keyBufferPtr,
                                    ULONG recNo);


 khPtr          I:index file control structure
 keyBufferPtr   I:key to store
 recNo          I:recNo to attach to key

This routine stores the key/recNo pair into the index file.

The recNo value is typically the value returned from BltDataAddRecord().

The recNo should not be 0 when using DBF data files since there is no record number 0.

See BltIx4Insert() for another method of adding keys.

Return: Non-zero indicates an error, otherwise the key/recNo is stored.


All content Copyright © 1999 Cornel Huth. All rights reserved.