Author Message
MichaelReynolds [Avatar]

Joined: Nov 7, 2013
Messages: 140
Location: South Carolina
Offline
A question or two about WHILE loops in OD:

imust I manually advance the cursor with a "next in Collection" or will the WHILE itself increment the pointer? The reason I am asking is because I seem to be missing the last row in the collection and have tried adding the "next in Collection" command to no avail.

Michael Reynolds mike.reynolds@realpage.com (864) 272-3541
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
It advances by itself. Before the While loop item, make sure you prepare the collection by executing Rest and Next to set the pointer to the first position to begin the loop since the loop expect you to set the starting position.
Go to:   
Mobile view