How to get length of string in Microsoft Dynamics Navision.

For getting the length of string in NAV we use STRLEN() function write following code in code unit under ‘On Run’ trigger and then  run it.

MESSAGE(format(STRLEN('Hello-Guys')));

Note: here we also use FORMAT() function because we STRLEN() function gives integer value so we convert it to string and the display it.

OUTPUT:


Comments

Popular posts from this blog

How to get column value from the selected row in data grid in wpf c#.net

How to make and use web service in Microsoft Dynamics Navision.