Dataport does not allow you to read records accross more than one line unless there is some other record seperator you can set up.
However, reading from fixed positions is easy from C/AL using file.SEEK or counting bytes read and reading "filling" bytes to a temporary buffer.
You cannot reuse the code for reading though, you need to program writing again from scratch.
Comments
However, reading from fixed positions is easy from C/AL using file.SEEK or counting bytes read and reading "filling" bytes to a temporary buffer.
You cannot reuse the code for reading though, you need to program writing again from scratch.
by the way, do any of you have any sample for import data using codeunit?
thanks