Advantage Client Engine
Removes the key built from the current record from the custom index order.
UNSIGNED32 |
AdsDeleteCustomKey (ADSHANDLE hIndex); |
hIndex (I) |
Handle of index order that was created with the ADS_CUSTOM option. |
AdsDeleteCustomKey will remove the key corresponding to the current record from the custom index order. If a key for this record was not added to the index, AdsDeleteCustomKey will return AE_SUCCESS.
Note When the index is shared, deleting a custom key will fail if the record is locked by another application. If the index is opened exclusively, custom keys can be deleted even when the record is locked by another application. To open an index exclusively, open the table exclusively or open the table in shared mode and create a custom index without closing it.