Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

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

Posted on by 225

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.

*This post is locked for comments

  • Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: How to save a .txt , .csv , .xlsx , .fml or any other kind of file inside a field of a table in NAV 2009?

    Check this

    docs.microsoft.com/.../instream-and-outstream-data-types

  • KaryaNavTech Profile Picture
    KaryaNavTech 225 on at
    RE: How to save a .txt , .csv , .xlsx , .fml or any other kind of file inside a field of a table in NAV 2009?

    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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: How to save a .txt , .csv , .xlsx , .fml or any other kind of file inside a field of a table in NAV 2009?

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans