WRITE Function (BigText)
Microsoft Dynamics Nav 2009
Streams a BigText to a BLOB field in a table.
[Ok := ] BigText.WRITE(OutStream)
Parameters
- OutStream
-
Type: OutStream
The object to which you write a BigText.
This example shows how to stream a BigText to a BLOB field in a table.
This example requires that you define the following variables.
| Variable name | DataType | Subtype |
|---|---|---|
|
Bstr |
BigText |
|
|
ItemRec |
Record |
Item |
|
Ostream |
OutStream |
|
Bstr.ADDTEXT('This is the text string that we want to store in a BLOB field.');
ItemRec.Picture.CREATEOUTSTREAM(Ostream);
Bbstr.WRITE(Ostream);
ItemRec.INSERT;
Community Additions
ADD
Show: