Can 1 button be used with multiple tables?

I realize this may be a stupid question, but if I don’t ask I will never know!
Is there a way I can use the same button on multiple tables?
Many thanks, Gregg

1 Like

Hi @Gregg_Stebben

Can you explain a little more about what you are trying to achieve? Depending on your goal, some things are possible and others are not. Here are some examples to help clarify:

  • If you are using a button in a canvas (not a button column), that button has a unique identifier. This means you can trigger it from anywhere in your doc by referencing that identifier, either with another button or with automation.
  • If you want to trigger a button that is part of a column (button column), you can also trigger it from anywhere in the doc. In this case, you reference it using the format [Table].[Column].Nth().
    For example:
    • You can run all buttons in a table by using RunActions([Table].[Column]).
    • You can also apply a filter to trigger only buttons from selected rows.
  • However, if your intention is to reuse the logic of a button formula in different contexts or tables, that’s not directly possible.
    For example:
    • Let’s say Table A has a button column that sums two other columns.
    • If you have Table B with similar columns and want the same sum logic, you will need to manually copy the formula from Table A’s button and adjust the column references in Table B.
    • Alternatively, if you want the button in Table B to press a button in Table A, you can do this using the method mentioned in the second example (referencing the row and pressing the button through a formula).

Let me know more about your use case and I can give you a more specific suggestion.
Cheers,
Arnhold

7 Likes

Thank you so much…this is exactly what I needed!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.