BigText.Read(InStream) Method
Version: Available or changed with runtime version 1.0.
Streams a BigText object that is stored as a BLOB in a table to a BigText variable.
Syntax
[Ok := ] BigText.Read(InStream: InStream)
Parameters
BigText
Type: BigText
An instance of the BigText data type.
InStream
Type: InStream
The InStream object type that you use to stream a BLOB to a BigText variable.
Return Value
[Optional] Ok
Type: Boolean
true if the read transaction was successful, otherwise false.
Remarks
To delete the content in a BigText variable, use the Clear Method.
Clear(BigText)
Example
This example shows how to stream a BigText that is stored as a BLOB in a table to a BigText variable.
var
Bstr: BigText;
Istream: InStream;
EmployeeRec: Record Employee;
begin
EmployeeRec.Find('-');
EmployeeRec.CalcFields(Picture);
EmployeeRec.Picture.CreateInStream(Istream);
Bstr.Read(Istream);
end;
Use the CalcFields Method (Record) to calculate the BlobField. A BlobField is a binary large object (maximum size 2 GB) and must be calculated if you want to use it in AL or display it in the application.