Streams a BigText that is stored as a BLOB in a table to a
BigText variable.
|
[Ok := ] BigText.READ(InStream)
|
Parameters
- InStream
-
Type: InStream
The InStream object type to which you read a BigText.
Property Value/Return Value
Type: Boolean
This optional return value specifies whether the read
transaction was successful.
Remarks
Example
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.
Variable |
DataType |
Subtype |
Bstr
|
BigText
|
|
EmployeeRec
|
Record
|
Employee
|
Istream
|
InStream
|
|
|
Copy Code |
EmployeeRec.FIND('-');
EmployeeRec.CALCFIELDS(Picture);
EmployeeRec.Picture.CREATEINSTREAM(Istream);
Bstr.READ(Istream);
|
You 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.
See Also