Topic complex |
Table functions |
Function |
linkblob() |
Short |
Links an external file with a BLOB field |
Syntax |
LINKBLOB(Tabellenfeld; Pfad : STRING; Typ : INTEGER) : INTEGER |
Parameter |
table_field as
table : INTEGER; fieldnumber : INTEGER
table : INTEGER; label : STRING
path : name of the external file
type : type code of the file
The following types are reserved:
1 : BMP (Windows Bitmap)
2 : PCX (PCX-Bitmap)
3 : WAV (Soundfile)
4 : WMF (Windows Metafile)
5 : GIF (Image)
6 : JPG (Image) |
Return |
-1 : operation unsuccessful (illegal path etc.)
else : size of the BLOB in Bytes
|
See also: |
|
Description |
Here only the path and the type of the read file are saved.
Using own types please look at http://www.tdb-engine.de, to see which types are allready reserverd.
|