Dataports (ASCII or ANSI)

Hi Everybody, When I create a textfile (comma separated) using Navision (2.6) dataports, it’s always in ASCII (DOS) Is it possible to create csv-files which are in ANSI-format Ronald

Yes, you can call a conversion routine in a text field’s OnBeforeEvaluateField and OnAfterFormatField triggers. We have a codeunit which contains such routines, but it seems to be provided by our NSC and I dare not post it here. IIRC, someone else has already posted some code here for this purpose. Try searching the forum, I’m sure you will find something useful.

Try this codeunit’s functions: