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.
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour