xHarbour Reference Documentation > Function Reference |
Copies data from a field into an external file.
DbFileGet( <nFieldPos>, <cTargetFile>, <nMode> ) --> lSuccess
Constants for the append mode
Constant | Value | Description |
---|---|---|
FILEGET_APPEND | 1 | Appends data to the file. |
FILEGET_OVERWRITE | 0 | Overwrites file with data. |
The return value is .T. (true) when the operation is successful, otherwise .F. (false) is returned.
The DbFileGet() and DbFilePut() functions are mainly used to transfer data between memo fields holding large amounts of data (BLOB) and external files. Data written to an external file is then programmatically processed.
See also: | BlobDirectExport(), BlobExport(), DbFilePut() |
Category: | Database functions , Field functions |
Header: | Dbinfo.ch |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com