i'm writing a codeunit which needs to read a tab delimited file into na3.70, but navision reads the tabs as spaces :evil:. is there a way around this (or rather: what's the way around this)?
thanks Torben.
navision converts the tabs (ascii 9, you're right) to space(s) (ascii 32), so the comparison will always be false. i can't check for spaces because a tab character converts to either 1, 2 or 3 space characters, and a 1 space character is legal in description fields for example.
Comments
Then test the import string for the character format(Char9) and you have found the place of the delimiter.
navision converts the tabs (ascii 9, you're right) to space(s) (ascii 32), so the comparison will always be false. i can't check for spaces because a tab character converts to either 1, 2 or 3 space characters, and a 1 space character is legal in description fields for example.
Correct me if I'm wrong :roll:
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
thanks!!!