Action: Loop

By Kateryna Sytnyk

November 26, 2008



A loop is a way of repeating a statement a number of times until some way of ending the loop occurs. It might be run for a preset number of times.The loop simply executes a block of code as long as the condition you give it is true.


The Condition Mode allows you to either use the standard interface, which provides the Left Value, Operator and Right Value - OR to use the Advanced, or Compound mode. The Compound mode allows you to specify the entire entire condition with standard syntax. It is important to not that if the General Settings state that Math is to be used within Conditionals, Mathematic symbols may be miss translated. For example, if you are comparing a value that is in a Date format, it may attempt Division due to the use of the "/" value.

An example of the Standard Mode - checking to see if the current user is a member of the Administrators role.

Left Hand: [FORMAT,Administrators,{ISINROLE}]
Operator: =
Right Hand: True

An example of a Compound statement - checking to see if the current user is a member of the Administrators role AND the Querystring Parameter "ProductID" is larger than 500.

We need to move through all of 5 form fields. For this we need to create an Action variable QuestionIndex and assign for it value 1. Create a Loop and set condition [QuestionIndex,A] >5. Put in to loop all actiont that we need to execute (Query Insert etc.). In the end we need to enlarge QuestionIndex on 1.

Average (0 Ratings):
Want to help out?

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seattle, WA •

Bookmark & Share Bookmark and Share