Notifications
Announcements
No record found.
Hello everyone,
I prepared a class for export my table to CSV file with System.IO.StreamWriter. But i couldn't change char code while exporting. I lose some special characters if not changed. How can i set char code for CSV while exporting ?
Thank you.
Hi Emre,
The question is more about C#. Check the article stackoverflow.com/.../forcing-streamwriter-to-change-encoding.
Why do you want to use StreamWriter instead of TextIO class?
Hi Sergei,
Actually i don't have to use TextIO class. I just made simple research on Google about export any table to excel. I through it can be more quick if i export as CSV file. I am open to all recommendations for this matter.
Indeed it's easier to export CSV, but you can do it with build-in TextIO class.
Check this example how to use TextIO vardhan24.blogspot.com/.../write-data-to-text-file-through-x-in-ax.html
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 592 Most Valuable Professional
André Arnaud de Cal... 478 Super User 2025 Season 2
BillurSamdancioglu 305 Most Valuable Professional