Load the contents of the field from a file.
Source position: db.pas line 1100
public procedure TBlobField.LoadFromFile( |
const FileName: string |
); |
FileName |
|
Name of file to read data from. |
LoadFromFile creates a file stream with FileName as the name of the file to open, en then calls LoadFromStream to read the contents of the blob field from the file. The file is opened in read-only mode.
If the file does not exist or is nor available for reading, an exception will be raised.
|
Load the field's contents from stream. |
|
|
Save field contents to a file. |