How Do I Insert Repeatable Data into a Predefined Template? (Magic xpa 4.x)
Repeatable data is handled with the <!$MGREPEAT> tags. Whatever is between <!$MGREPEAT> and <!$MGENDREPEAT> will be repeated each time you do a Form Output that involves the tags between them. So, in our example, we do a Form Output operation in Record Suffix. The Form updates the tags SN, Movie Title, and Cost, so those will repeat. This is somewhat similar to how the Table control works on a GUI output form.
The Online and Rich Client Samples projects (program MG03 and RMG03)