int KISAMReadHoldKey(KHAND handle, int path, char *lpRecbuf, char *lpKeybuf, ROWID *lpRowid)
Parameter | Type | Purpose |
handle | KHAND | handle of table to be searched |
path | int | index path to which the key applies |
lpRecbuf | char * | record buffer to receive the row. May be NULL if only key required. |
lpKeybuf | char * | buffer to hold the key. May be NULL if not required. |
lpRowid | ROWID * | this location will be updated with the rowid of the record. |
This performs a KISAMReadKey function using the supplied key and if successful it will lock the row ready for a subsequent update or delete. The row will stay locked until updated or until explicitly unlocked by KISAMUnlock.