Link to home
Start Free TrialLog in
Avatar of tbaseflug
tbaseflugFlag for United States of America

asked on

Some kind of loop?

What I want to do - is to take X amount of values and for each, perform a loop and execute a SPROC in my data-layer - I am sure this is easy and have everything I need except how to grab each value and loop the execute...
Avatar of Ghoti_AZ
Ghoti_AZ

Sounds like a basic For loop to me.
Avatar of tbaseflug

ASKER

Can you give me an example?  Say I have three string values I am setting and I need to execute a code block for each?
Depending on the type or data you want to loop through. If it's a collection then it should be something like:

for each Item in CollectionVariable
         'do stuff here..
next

Hope this helps...
ASKER CERTIFIED SOLUTION
Avatar of Onthrax
Onthrax
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial