AnsweredAssumed Answered

Loop within a Loop

Question asked by NicoleHartman on May 10, 2014
Latest reply on May 12, 2014 by NicoleHartman


Loop within a Loop


     I have a table that has a list of database IDs and then about 20 categories that are all represented as separate fields. 

     I am trying to loop through each record and capture the field name title and the contents of the field for each record. I can't figure out how to loop through all of the records and capture the information and then move to the next field and reloop through each record. Attached is a screen shot of the script I am currently using, it successfully allows me to loop through the first field and capture the information I need, but I don't know how to get it to iterate through the rest of the fields.