Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
SteveGray 4/10/2018 12:59:49 PM

TextParser for a FixedWidth file that has variable lengths

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

I have library code on this site to parse text files using the .NET TextParser library

http://dyndeveloper.com/ArticleView.aspx?ArticleID=154

and

http://dyndeveloper.com/thread.aspx?Threadid=1378

But today's task is a little different, the file had variable lengths. The code sample below introduces a variable then setting the line lengths to solve the problem

4Penny.net
Version: All
Section: .NET Development






Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables