# 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
```al
[Ok := ]  BigText.Write(OutStream: OutStream)
```
## Parameters
BigText
Type: bigtext-data-type
An instance of the bigtext-data-type data type.
OutStream
Type: ../outstream/outstream-data-type
The stream to which you write a BigText.
## Return Value
*[Optional] Ok*
Type: ../boolean/boolean-data-type
true if the write transaction was successful, otherwise false.
## Remarks
To delete the content in a BigText variable, use the ../system/system-clear-joker-method.
```al
Clear(BigText)
```
## Example
This example shows how to stream a BigText to a BLOB field in a table.
```al
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;
```
## Related information
bigtext-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/bigtext/bigtext-write-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/bigtext/bigtext-write-method/
