JavaScript Required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
AddRow to B and Reference in A
Share
Explore
AddRow to B and Reference in A
AddRow to B and Reference in A
AddRow to B and Reference in A
Test Race Conditions
Test Race Conditions
AddRow to B and Reference in A
CM
Connor McCormick
You can see that the nested approach results in
Reference B
containing an Action:
But the
Last()
approach works:
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
Table A
0
Search
1
2
Name
Reference B
TargetRowNested
TargetRowLast()
There are no rows in this table
Table B
Table B
0
Search
Name
There are no rows in this table
Related Docs
$10k Work: How to increase your productivity using the magic of leverage
Khe Hy
Two-way writeups: Coda’s secret to shipping fast
Lane Shackleton
Peloton Analytics Tool for Workout Stats [+Template]
Al Chen
Mental Health Awareness Month
Jamie Forseth
Four Myths of Bundling
Shishir Mehrotra
OTF Planner (otfplanner.com)
Kenny
Random Quote Generator
Mark Davis
SpotRacer Database
kev null
Founders Mindset Bootcamp Shared
Nathalie Rafeh
1:1 & Career Development Template
Eric Glick
The Inbox-Zero Challenge: How long can you keep up your streak?
Shishir Mehrotra
Hiring List Template
SiNing Chan
BlockSplit Info
Block Split
Easy RSVP Tracker with the Gmail Pack
Kay Diaz-Ferrigno
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.