I am trying to loop through the elements of a RecordList and write them to an array. My problem is that after the first loop write the first RecordList element to the array, the second loop overwrites the first element in the array, instead of incrementing the array. Thus, my results array always has one element, when it should have the one element for every loop through the RecordList. Within the loop, I am directly mapping the RecordList element to the array. Any ideas on how to write to an incremental array?
Thanks,
Rumana