{"title":"BigText.Read(InStream) Method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/bigtext/bigtext-read-method/","by":"JOP-AL","license":"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-read-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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/bigtext/bigtext-read-method","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Streams a BigText object that is stored as a BLOB in a table to a BigText variable.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"BigText.Read(InStream) Method","slug":"bigtextreadinstream-method","at":0,"chars":1413},{"level":2,"title":"Syntax","slug":"syntax","at":176,"chars":63},{"level":2,"title":"Parameters","slug":"parameters","at":239,"chars":218},{"level":2,"title":"Return Value","slug":"return-value","at":457,"chars":129},{"level":2,"title":"Remarks","slug":"remarks","at":586,"chars":126},{"level":2,"title":"Example","slug":"example","at":712,"chars":566},{"level":2,"title":"Related information","slug":"related-information","at":1278,"chars":135}],"text":"# BigText.Read(InStream) Method\n> Version: _Available or changed with runtime version 1.0._\nStreams a BigText object that is stored as a BLOB in a table to a BigText variable.\n## Syntax\n```al\n[Ok := ]  BigText.Read(InStream: InStream)\n```\n## Parameters\nBigText\nType: bigtext-data-type\nAn instance of the bigtext-data-type data type.\nInStream\nType: ../instream/instream-data-type\nThe InStream object type that you use to stream a BLOB to a BigText variable.\n## Return Value\n*[Optional] Ok*\nType: ../boolean/boolean-data-type\ntrue if the read transaction was successful, otherwise false.\n## Remarks\nTo delete the content in a BigText variable, use the ../system/system-clear-joker-method.\n```al\nClear(BigText)\n```\n## Example\nThis example shows how to stream a BigText that is stored as a BLOB in a table to a BigText variable.\n```al\nvar\n    Bstr: BigText;\n    Istream: InStream;\n    EmployeeRec: Record Employee;\nbegin\n    EmployeeRec.Find('-');\n    EmployeeRec.CalcFields(Picture);\n    EmployeeRec.Picture.CreateInStream(Istream);\n    Bstr.Read(Istream);\nend;\n```\nUse the ../record/record-calcfields-method to calculate the BlobField. A BlobField is a binary large object \\(maximum size 2 GB\\) and must be calculated if you want to use it in AL or display it in the application.\n## Related information\nbigtext-data-type\nGet Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}