Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Streams a BigText object that is stored as a BLOB in a table to a BigText variable.
Syntax
[Ok := ] BigText.READ(InStream)
Parameters
BigText
Type: BigText
The BigText variable into which you stream the BLOB.
InStream
Type: InStream
The InStream object type that you use to stream a BLOB to a BigText variable.
Property Value/Return Value
Type: Boolean
true if the read transaction was successful; otherwise, false.
Remarks
To delete the content in a BigText variable, use the CLEAR function.
CLEAR(BigText)
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 | Not applicable |
| EmployeeRec | Record | Employee |
| Istream | InStream | Not applicable |
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.