Reply To: loop and richtext2

#18138
Barry Kelly
Participant

I think the problem is you are creating the same Paragraph as you go throu the loop.
So when I=1, you are creating … paragraph “CONTENT_PARAGRAPH_1”
When I=2, you are creating … paragraph “CONTENT_PARAGRAPH_1”
When I=3, you are creating … paragraph “CONTENT_PARAGRAPH_1”

All the same paragraph but with different content … content[i][1]

When you manually set ‘i’ to ‘1’ you now have the same content in the same paragraph, which is why it works.

Barry.

Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit