| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Deleted the root area of a BLOB file.
BlobRootDelete() --> lSuccess
The return value is .T. (true) if the root area is successfully deleted, otherwise .F. (false) is returned.
BlobRootDelete() removes the data stored in the root area of a BLOB file. This data is written by BlobRootPut().
Note: the file Blob.ch must be #included for BlobRootDelete() to work.
| See also: | BlobRootGet(), BlobRootPut(), BlobRootLock() |
| Category: | Blob functions , Database functions |
| Header: | blob.ch |
| Source: | rdd\dbcmd.c, rdd\dbffpt\dbffpt1.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example demonstrates the coding pattern that must be used to
// remove the root area of a BLOB file.
#include "Blob.ch"
REQUEST DBFCDX
PROCEDURE Main
USE PhotoArchive ALIAS Photos VIA "DBFCDX"
IF BlobRootLock()
BlobRootDelete()
BlobRootUnlock()
ELSE
Alert( "Unable to lock the root area" )
ENDIF
USE
RETURN
http://www.xHarbour.com