One way to do it strictly as you put it is:
Sequence(1, [Multiselect Control].Count())).FormulaMap(
AddRow([Order Table],
[Order Table].[Order #],max([Order #])+CurrentValue,
[Col1],[Multiselect Control].Nth(CurrentValue)
)
)
See this:
But I’d probably use a column formula to guarantee unique order numbers: [Order Table].[Order #] = thisRow.RowId()
2 Likes