You can use set field by name and use variables for your field names and loop through them. I usually collect the fields from a layout that's created for this purpose only.
agnes b. riley . filemaker and web development
FileMaker Business Alliance . FileMaker Technical Network
T 201-299-6223 (NJ) .
FileMaker Certified in 10 and 11
people + products + events + todos + invoices + documents = productivity
There are a few ways to do this.
- You can make the variables global by using $$variable name. This way the second script will have access to the variables created by the first script.
- You can pass the values to the second script by including the variables in the Perform Script script step. Use the List function List ($one, $two....) in the Perform Script step. Then use get(scriptparameter) with Getvalue .. As in Set Variable[$one; GetValue(get(scriptparameter);1)] in th second script repeat this for all Variables.
- You can create global fields and put the values in the field in the first script and then use them in the second.
Probably the easiest is option 1. Just make sure you have the variable names match in both scripts.