Set a variable to the list of Tag values.
Set a variable to the ID of the parent record or records
Go to a layout based on the table.
Set up a Loop and loop through the values in the variable using New Record to create the records.
Use GetValue ( $IDListVariableHere ; $K )
To extract each ID and use this code:
Set Variable [$K ; $K + 1 ]
Exit Loop if [ $K > ValueCount ( $IDListVariableHere ) ]
to control the number of times that the loop executes to loop through all variables in your list.