Skip to main content

Same Script for multiple Tabels

I currently have the usecase for one script to run for several tabels with different names. I wanted to ask if there is an easy way without having to change a lot in the scipt. For the part of the name which changes, I have already declared a variable.
Thanks in advance!!!

Brian Element Mon, 09/04/2023 - 08:46

There are probably a few ways to handle this.  You can set the variable to the table name at the beginning of your script, you can create an input box that pops-up asking for the name of the table and then sets the variable to that table name or you could create a loop that loops through each of the table names so you run all the tables in one pass.