Hi Folks -
I have a txt file named Newfilename.txt which 240 character of text something like this just 1 line in the file.
Customer no : 20000 Credit Limit : 10000 Tax area code : VA Date - 04/12/18 Location Code : 001 Department Code : 01
I am trying to write this to the Record link Notes table and I don’t get any errors but the issue is that the entire text is not shown in the Notes it shows something like the below
Customer no : 20000 Credit Limit : 10000 Tax area code : VA
It drops the remaining text.
RecordLink.Note.CREATEOUTSTREAM(StreamOutObj); MyFile.WRITEMODE(FALSE); MyFile.TEXTMODE(TRUE); MyFile.OPEN(NewFileName); MyFile.CREATEINSTREAM(StreamInObj); IntLen := MyFile.LEN; WHILE (MyFile.POS < IntLen) DO BEGIN MyFile.READ(s); StreamInObj.READTEXT(s); StreamOutObj.WRITETEXT(s,MAXSTRLEN(s)); END; MyFile.CLOSE();
Does anyone know what could the issue with the above function.
Any help is highly appreciated.