BigText.Write(OutStream) Method
Version: Available or changed with runtime version 1.0.
Streams a BigText object to a BLOB field in a table.
Syntax
[Ok := ] BigText.Write(OutStream: OutStream)
Parameters
BigText
Type: BigText
An instance of the BigText data type.
OutStream
Type: OutStream
The stream to which you write a BigText.
Return Value
[Optional] Ok
Type: Boolean
true if the write 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 to a BLOB field in a table.
var
Bstr: BigText;
Ostream: OutStream;
ItemRec: Record Item;
begin
Bstr.AddText('This is the text string that we want to store in a BLOB field.');
ItemRec.Picture.CreateOutStream(Ostream);
Bstr.Write(Ostream);
ItemRec.Insert;
end;
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