Hello! I want to perform two actions with one button: change the row and go to the table (in which I changed the row)
ModifyRows(Filter([Table], thisRow), [Table].Name, thisRow).OpenWindow(“https://coda.io…”)
What am I doing wrong?
You must use RunActions()
try
RunActions(
ModifyRows(Table.thisRow, Name, “xxxx”),
OpenWindow(“https://coda.io…”)
)
the RunActions() function takes a list of actions and executes them in sequence
but…
if you want to modify a row and then open the SAME row in a dialog for editing, you can do that in a single action like this…
ModifyRows(Table.thisRow, Name, “xxxx”).OpenRow()
and if you want to open the row in a fullscreen dialog
then use…
ModifyRows(Table.thisRow, …).OpenRow(viewMode:“Fullscreen”)
the .OpenRow() followon also works after an AddRow() as well
btw. i find it reads better (but works exactly the same) to write…
Table.thisRow.ModifyRows(Name, “xxxx”)
respect
max
it’s unthinkable, fantastic, divine, excellent. I adore you
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.