Streams a BigText object to a BLOB field in a table.

[Ok := ] BigText.WRITE(OutStream)

Parameters

BigText

Type: BigText

The BigText that you want to write to a BLOB field.

OutStream

Type: OutStream

The stream to which you write a BigText.

Property Value/Return Value

Type: Boolean

This optional return value specifies whether the write transaction was successful.

Remarks

To delete the content in a BigText variable, use the CLEAR function.

Copy Code
CLEAR(BigText)

Example

This example shows how to stream a BigText to a BLOB field in a table.

This example requires that you define the following variables.

Variable name DataType Subtype

Bstr

BigText

Not applicable

ItemRec

Record

Item

Ostream

OutStream

Not applicable

Copy Code
Bstr.ADDTEXT('This is the text string that we want to store in a BLOB field.');
ItemRec.Picture.CREATEOUTSTREAM(Ostream);
Bstr.WRITE(Ostream);
ItemRec.INSERT;

See Also