Same Script for multiple Tabels

2 posts / 0 new
Last post
Joined: 08/28/2023 - 02:43
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's picture
Brian Element
Joined: 07/11/2012 - 19:57

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.