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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de