| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Removes the deletion mark from an index entry in a HiPer-SEEK index file.
HS_Undelete( <nHsxHandle>, <nIndexEntry> ) --> nErrorCode
The function returns 1 when the deletion mark is successfully removed from the index entry, or a negative numeber indicating an error condition:
Error codes of HS_Undelete()
| Value | Description |
|---|---|
| -4 | Error while attempting to seek during buffer flushing. |
| -5 | Read error while reading. |
| -6 | Write error during buffer flushing. |
| -7 | <nIndexEntry> is out of bounds. |
| -9 | <nIndexEntry> is not marked for deletion. |
| -16 | Invalid parameters are passed. |
| -18 | Illegal HiPer-SEEK index file handle. |
HS_Undelete() removes the deletion mark from an index entry previously set with HS_Delete(). This is similar to DbDelete() and DbRecall().
| See also: | DbRecall(), HS_Delete(), HS_IfDel(), HS_Replace() |
| Category: | Database functions , HiPer-SEEK functions , Index functions , xHarbour extensions |
| Source: | rdd\hsx\hsx.c |
| LIB: | lib\xhb.lib |
| DLL: | dll\xhbdll.dll |
http://www.xHarbour.com