RAD Studio VCL Reference
TCustomADODataSet.CreateBlobStream Method

Creates a blob stream for a Binary large object (BLOB) field in the dataset.

function CreateBlobStream(Field: TField; Mode: TBlobStreamMode): TStream; override;
virtual __fastcall TStream CreateBlobStream(TField Field, TBlobStreamMode Mode);

Call CreateBlobStream to obtain a stream for reading and writing the value of the field specified by the Field parameter. 

Field is a string containing the name of the BLOB (or comparable type) field in the dataset. 

Mode indicates whether the stream will be used for reading the field's value (bmRead), writing the field's value (bmWrite), or both (bmReadWrite). 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!