Kommentar
Å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.
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;