How to use repeat Until loop in Microsoft Dynamics Navision.

For understanding the use of repeat until loop in NAV, show below example.

i:=0;
REPEAT
  i:=i+1;
  MESSAGE(FORMAT(i));
UNTIL i>10




OUTPUT:
Here it will display continuous message box 10 time with 1 to 10 numbers

Comments

Popular posts from this blog

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

How to use Format function in Microsoft Dynamics Navision.

How to create simple report in Microsoft Dynamics Navision.