hello folks,
i have to write data to a file with a codeunit. Everything woks but.. :
I used textmode before creating the file.
If i look for the file , the lines are not seperated, one record after another.
Can somebody tell me, how to code the carriage-return-linefeed as last character ?
thanks for your help !
Hermann.
0
Comments
I believe an easier solution to your problem is just to do a WRITELINE with no parameters. That should automatically write a carriage return to the file.
My Blog - nav.education
-> I didn't find a WRITELINE function for the file, not in the Symbol Menu nor in the C/AL Help.
Thanks
Hermannn.
thanks for the answer, but i used file.WRITE(value)
Hermann.
the error was using file.TEXTMODE; instead of file.TEXTMODE(TRUE);
(with the hepl of gbedv) !
Thx to all !