Streams a BigText object that is stored as a BLOB in a table to a BigText variable.
[Ok := ] BigText.READ(InStream)
- Type: BigText The BigText variable into which you stream the BLOB.
- Type: InStream The InStream object type that you use to stream a BLOB to a BigText variable.
Property Value/Return Value
true if the read transaction was successful; otherwise, false.
To delete the content in a BigText variable, use the CLEAR function.
This example shows how to stream a BigText that is stored as a BLOB in a table to a BigText variable.
This example requires that you define the following variables.
EmployeeRec.FIND('-'); EmployeeRec.CALCFIELDS(Picture); EmployeeRec.Picture.CREATEINSTREAM(Istream); Bstr.READ(Istream);
Use the CALCFIELDS Function (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 C/AL or display it in the application.