for each row in sub form problem

for each row in sub form problem

i'm looking for some calculations to run on each row in a sub form.

I have it working on the first row but subsequent rows do not work.

I have a way of translating words into number values, calculating the numbers and then translating the sum back into words.  That bit all works, I just need to apply it to each row.

I tried
for each row in Risk_Sub_Form
{
add in my code
}

i get the error "row is system keyword and cannot be used"

Any ideas?