Skip to content
AddRow to B and Reference in A
  • Pages
    • icon picker
      AddRow to B and Reference in A
    • Test Race Conditions

AddRow to B and Reference in A

You can see that the nested approach results in Reference B containing an Action:
image.png
But the Last() approach works:
image.png
Nested Approach
TargetRowNested.ModifyRows(
[Table A].[Reference B],
TargetRowNested.[Reference B].Splice(0, 0, [Table B].AddRow())
)

Last() Approach
RunActions(
[Table B].AddRow(),
[TargetRowLast()].ModifyRows([Table A].[Reference B],
[TargetRowLast()].[Reference B].Splice(0, 0, [Table B].Last())
)
)

Table A
Name
Reference B
TargetRowNested
TargetRowLast()
There are no rows in this table
Table B
Name
There are no rows in this table

 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.