SBX - Search With Button

SBX - Forum Post Title

How to save a .txt , .csv , .xlsx , .fml or any other kind of file inside a field of a table in NAV 2009?

Microsoft Dynamics NAV Forum

NAV Techie asked a question on 17 Aug 2018 7:23 AM

Question Status

Verified

How to save a .txt , .csv , .xlsx , .fml or any other kind of file inside a field of a table in NAV 2009?

i just want to store .csv or .txt file inside a table field so that user can later get it for its tracking purpose? Any idea how to insert txt or csv file in a field. I created a BLOB field but it just takes Bitmap images not the file.

Reply
Verified Answer

You can do that by using InStream and OutStream objects. For reading data from a BLOB, we can use the InStream object and for writing data we use the OutStream object.

Reply
NAV Techie responded on 20 Aug 2018 12:30 AM

Hello stefano,

Thanks for the responce, M new to nav could you please elaborate u mentioned above. Do i need to create the global variables with InStream or OutStream? please suggest.

Reply
Verified Answer

You can do that by using InStream and OutStream objects. For reading data from a BLOB, we can use the InStream object and for writing data we use the OutStream object.

Reply

SBX - Two Col Forum

SBX - Migrated JS