a single Set Field script for multiple table/layouts
In my file, I have multiple tables which I can create records in. I am trying to come up with a script that will create a new record and insert an ID from another file into the fID field of the table. I have the script set up so far that it asks the user for a job number, when the user enters that number it checks the foriegn file to make sure it is valid and gets the ID number as a variable. Now I need to pass that variable to the new record in the current table. I can see how to do this using a separate script for each table, but was hoping I could do it with one script for all tables.