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

  • Venkateshwar_Indian Profile Picture
    107 on at
    RE: how to convert Tab-delimited flat text file into excel file

    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  

  • Verified answer
    Hannes Holst Profile Picture
    5,767 on at
    RE: how to convert Tab-delimited flat text file into excel file

    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');


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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans