xHarbour Reference Documentation > Function Reference |
Copies the contents of an external file into a field.
DbFilePut( <nFieldPos>, <cSourceFile> [,<Mode>] ) --> lSuccess
Constants for the import mode
Constant | Value | Description |
---|---|---|
FILEPUT_COMPRESS | 1 | Data is compressed |
FILEPUT_ENCRYPT | 2 | Data is encrypted |
The return value is .T. (true) when the operation is successful, otherwise .F. (false) is returned.
The DbFilePut() and DbFileGet() functions are mainly used to transfer data between memo fields holding large amounts of data (BLOB) and external files. Data imported from an external file is then programmatically processed.
See also: | BlobDirectImport(), BlobImport(), DbFileGet() |
Category: | Database functions , Field functions |
Header: | Dbinfo.ch |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com