Checking of date format of system

Hi I am using navision attain -310 before stating any activity in attain i want to be sure that the date format of my system is mm/dd/yy . can i achieve this in attain or i have to use some external object for this . with regards Harikesh

Hi You may put the following code somewhere (I don’t know where) in CU 1: IF NOT( FORMAT(TODAY())= FORMAT(TODAY,0,'<month,2>/<day,2>/<year,2>')) THEN ERROR('wrong date'); bye André

thanks André Petzke you code is working fine harikesh

I feel users should never be forced to use some date format, just because your application thinks they should. If you are willing to share some more of the background of your application, we might be able to help you find a more user-friendly, Navision-style solution.

quote:


Originally posted by jhoek
… we might able to help you find a more user-friendly, Navision-style solution.


So you think my solution is not Navision style?[V][8D] Navision as itself is often not Navision style [}:)]! But mainly you are right [:D]. bye André