SA_IsiDeleteK


 

SA_IsiDeleteK deletes from the index file the first key encountered that meets the key specification.

int SA_IsiDeleteK ( SA_FH IsiFH, u8 *Key, u16 KeyLen );

Parameters:
IsiFH
The handle of the previously opened or prepared ISAM file.
Key
Text that must match to qualify this record for deletion.
KeyLen
The length of the text in {Key}.

Note the following:

  1. The associated text record is unchanged by this operation.

  2. If {Key} is null, the key of the last record read is deleted from the index file.

  3. If {Key} points to a key string, the first key encountered that meets that key specification is deleted.

  4. Function return codes are as follows:

  5.  

    Value

    Meaning

    1

    Success.

    0

    No records meeting this key specification.

    -nn

    Error as described in Sunaccess Errors

     

     



Sunaccess Reference SA_IsiDeleteDK SA_IsiInsert