RAD Studio VCL Reference
|
Loads BLOB data from a file into the field.
procedure LoadFromFile(const FileName: string);
__fastcall LoadFromFile(const AnsiString FileName);
Use LoadFromFile to load the contents of a file into a BLOB field. Specify the name of the file to load into the field as the value of the FileName parameter.
if not (Query.State in [dsInsert, dsEdit]) then Query1.Insert; Query1Images.LoadFromFile('c:\Windows\Waves.bmp'); Query1.Post;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|