Hey all, if a reports adds or changes data i often create a log about the work was done. This log is a simple ascii-file which shows the changes to the user who has started the application. But i have the problem that the special german characters as “Ä”, “ö”, “ß” and so on are not printed. How can i make navision Version DE2.50 print use characters in ascii-files ? Stefan Weinreich Billing Analyst
Hello Stefan! Perhaps your problem is not that your file is not ASCII because content of Navision is ASCII and nothing else (this stupidity indeed is a problem sometimes). It might be that the tool you open the file with expects ANSI. Anyway, generally there are 3 options to handle the case: 1. You write a little function what converts the incrimed characters explicitly. 2. You use a “fully featured” editor (i.e. UltraEdit) with a convert functionality (OEM to ANSI or opposite) and print the file from within this editor after converting. 3. You store your log not into a text file but into a Fin. table and create a report from this table. In my opinion option 3 has the most elegant touch. Best regards
Hey Josef, i’m simply using notepad (what is mostly used when i add the line HYPERLINK(‘C:\temp\log.txt’); I thought there was a switch anywhere i could set to say navision to use the german characters. Stefan Weinreich Billing Analyst
quote:
Originally posted by StefanWeinreich: […] I thought there was a switch anywhere i could set to say navision to use the german characters.
Yes, one would expect this. A “real” database system has at least an option to tell the system what character set it should use in the database. And a “really good” database system can handle different character sets in one database. Conclusion: Navision is whatever it is, but not a “real” database system. Regards
Hi, it’s not a very convenient way, but a little trick to have the caracters recognized correctly by Windows: Open the txt file you create in Excel (File Open), Excel automatically opens the file import screens, enter in the first screen file origin “MS-DOS (PC-8)” and these special characters will be printed correctly. By the way, very convenient for any export files you create with Navision that contain special characters. Saludos Nils