Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Loop
#1
Not Solved
Looking to build a loop into my script.

The actions in the script are as follows

Search variable x
update fields xyz on variable profile
Return to search
Repeat

Any suggestions?
Reply
#2
Not Solved
There should be some exit criteria/No. of times when you want to stop repeating. Please post the exit condition.

I am posting a sample code...
Code:
Do
'Search variable x
if x.Exist then
'Set the value for x
Else
'x not found
End IF
While <Your exit condition>
You can use any loop to achieve your objective. Do let me know if you need more help.

Regards,
Ankesh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  FOR LOOP shayk1985 1 5,121 12-13-2012, 11:35 AM
Last Post: sams001
  How to exit from a for loop silpavinod 2 9,380 10-17-2012, 12:55 AM
Last Post: agarwl.anurag
  for loop sia sharma 1 3,196 09-13-2012, 11:44 AM
Last Post: ksrikanth2k9
  How to get out of infinite FOR loop... sssidana 3 4,392 07-20-2012, 01:04 AM
Last Post: sree.85
  Not able to Iterate using For Loop tanyamrz 2 3,190 05-22-2012, 09:41 PM
Last Post: tanyamrz

Forum Jump:


Users browsing this thread: 1 Guest(s)