You should write some kind of procedure to merge them into one ... it's quite easy in NAV.
Something like:
//F and F2 have datatype "File"
//vartxtFileName is the variable that contains the name of the concatenated file
//recFile has datatype record and subtype "File"
//vartxtDir contains the directory with all the files that has to be concatenated
//Texte had datatype Text of 1024 chars
F.TEXTMODE(TRUE);
F.WRITEMODE(TRUE);
IF NOT F.CREATE(vartxtFileName) THEN
ERROR('Unable to create %1', vartxtFileName);
recFile.SETRANGE(Path,vartxtDir+ '\');
recFile.SETRANGE("Is a file",TRUE);
IF recFile.FINDSET THEN
REPEAT
F2.TEXTMODE := TRUE;
F2.OPEN(vartxtDir +'\'+recFile.Name);
F2.READ(Texte);
REPEAT
F.WRITE(Texte);
UNTIL fleTable.READ(Texte) = 0;
F2.CLOSE;
UNTIL recFile.NEXT = 0;
F.CLOSE;
Answers
Something like:
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Lol ... oops .
Anyway, above is another way to go
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
And then just import the all.txt file.
:thumbsup:
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Nice reply. Even its almost 10 year old post ^^