Data.DB.TParam.LoadFromFile
Delphi
procedure LoadFromFile(const FileName: string; BlobType: TBlobType);
C++
void __fastcall LoadFromFile(const System::UnicodeString FileName, TBlobType BlobType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Loads the value of a BLOB parameter from the specified file.
Use LoadFromFile to set the value of a BLOB parameter from a value stored in the file specified by the FileName parameter. The DataType property is set to the value passed as the BlobType parameter.
Query2.ParamByName('Notes').LoadFromFile('c:\Files\Note1234.txt', ftMemo);