web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

how to convert Tab-delimited flat text file into excel file

(0) ShareShare
ReportReport
Posted on by 107

Hello All,

please help me out, for one web service I'm receiving tab-delimited text file in response, I'm copying manually the file data to excel for processing. can anyone tell me how to automate this process in nav

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Hannes Holst Profile Picture
    5,767 on at

    Hi,

    You are able to check characters based on the Codepage.

    For instance, I use this often to identify a carriage-return character in a file.

    I just stole the following code from another forum :-)
    You must figure out number in the codepage your TAB has and replace it accordingly.

    CHAR10 := 10;
    CHAR13 := 13;
    POS := STRPOS("Your Field", FORMAT(CHAR10));
    IF POS <> 0 THEN ERROR('Pasting Canceled Carrage Return Exists');
    POS := STRPOS("Your Field", FORMAT(CHAR13));
    IF POS <> 0 THEN ERROR('Pasting Canceled Line Feed Exists');


  • Venkateshwar_Indian Profile Picture
    107 on at

    Hi Hannes Holst,

    thanks for reply, I was able to import tab delimited flat file into a table in nav and also able to export it to excel sheet, is there any way to automate this i.e can we directly create and write data into excel from this tab delimited flat text file

    thanks  

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans